#I need help with a map system
1 messages · Page 1 of 1 (latest)
also "map 1" "map 2" "map 3" "map 4" are the names of the images
"MapTextLabel" is the name of the text that is meant to get changed
U want to change a map name corresponding to shown image?
Yeah
Ur current code doesnt work?
?
** You are now Level 1! **
Also can u show me ur hierarchy in explorer?
But it doesent
.
is this what u mean?
First of all we have to start with some simple debugging
Add some print statements to each change and check the console whenever you press arrows
alr?
then we'll see what's working and what's not
** You are now Level 6! **
k
.
Oh yeah it has to be a local script LOL
Didn’t notice that
oh
copy that code to local script
Its like saying to a server that it should change UI on his non existing monitor😭
i asked ai assistant and it said it doesent work because map 1 and all other map arent in the datamodel context
they are in a different frame under screen gui
Can u show me?
the red is where the maps are and the pink is where the text and script is
** You are now Level 2! **
local map1 = parent:FindFirstChild("map 1", true)
Add true for all of your maps
:FirstFirstChild() will look for a child inside of a screengui with a given name, but won't look inside of his children to find something with this name, theofore it will print nil
Atleast that's what i think
wait a sec
:FindFirstChild() has two arguments to pass
(InstanceName: String, LookRecursively: Boolean)
And if u set this second to true it will look also inside of his children
U died bud?
ts guy knows how to use chatgpt @stray hare
LOL
i was honest atleast hes not copy pasting 😭😭
can you give me the console
oh noice
Its prolly cause the Image-Asset is invalid roblox uses the name as placeholder i think.
That also doesnt make sense cause the names are Map-number 
Still its prolly the Image-Asset cause it works no?
U meant the sentience that AI assistant responded with?
Correct 
But still it works or doesn't it?
It's just the image not loading correctly
maybe the roblox servers hes on are not working correctly
Probably he got broken server and images doesn't load propertly. He should report this to roblox staff

We can tag this as solved
Exactly!
We should defo get s3 for that work
yo dude sorry i didnt get back to you
but what you said worked
so thanks alot man
