Superr_Z
(Superr_Z)
December 10, 2020, 5:38pm
#1
I’ve never actually tried scripting GUIs before so I tried giving it a shot.
I wrote a simple line of code but for some reason it wont change the text GUI
Here it is:
wait(1)
game.StarterGui.GUI.Frame.TextTest.Text = "Hi"
There are no errors showing so I think I am missing something but idk what.
If you know what’s please tell me, I am looking on Roblox’s API manual to see if I can find out what happened.
Im_Davld
(David)
December 10, 2020, 5:40pm
#2
Instead of game.StarterGui,
Use player.PlayerGui
1 Like
its
wait (1)
script.Parent.Text = “Hi”
Superr_Z
(Superr_Z)
December 10, 2020, 5:50pm
#5
Doesn’t seem to be working for some reason
Superr_Z
(Superr_Z)
December 10, 2020, 5:51pm
#6
The script isn’t located in the “TextTest”
Im_Davld
(David)
December 10, 2020, 5:51pm
#7
Make sure its “PlayerGui”, not “PlayerGUI”
1 Like
Superr_Z
(Superr_Z)
December 10, 2020, 5:52pm
#8
It worked, thanks for the help!
Maybe u used script instead of localscript