Hello, I have a code that works fine until I put a wait(30) before it, when I put a wait(30) before it, the code does not run. (Even when I have waited more then 30 seconds it does not run.) This is very strange to me, may I have some help? P.S. The first part of the code makes the gui visible, and the second part makes the gui run something.
The Script;
wait(30) game.StarterGui.stormgui.stormlabel.Visible = true wait(0.1) game.StarterGui.stormgui.stormlabel.Value.Value = true wait(0.1)
The image Link;
file:///C:/Users/rcutl/Downloads/need%20a%20little%20help...png
StarterGui is just there to replicate its contents to the player. To change a player's Gui, you need to change it from the PlayerGui.
wait(30) game.Players.LocalPlayer.PlayerGui.stormgui.stormlabel.Visible = true wait(0.1) game.Players.LocalPlayer.PlayerGui.stormgui.stormlabel.Value.Value = true wait(0.1)