while true do A = game.StarterGui.ScreenGui A.Llama.Visible = true wait(3) A.Llama.Visible = false A.Rank.Visible = true wait(3) A.Rank.Visible = false A.AntiSpam.Vislble = true wait(3) A.AntiSpam.Visible = false A.AntiKill.Visible = true wait(3) A.AntiKill.Visible = false A.Approval.Visible = true wait(3) A.Approval.Visible = false A.Report.Visible = true wait(3) A.Report.Visible = false wait(3) end
Why wont this work? I've been trying to make it so then the Gui's change at intervals so then the Llama Gui appears first and then after 3 seconds it disappear then the Rank Gui Appears then after 3 seconds ect.. But the thing is, I asked a advanced scripter and they said that it should work fine.. But it isn't. Any help?
You should put the script inside the Gui and change the paths (you'll need to add script.Parent quite a few times). By doing so, it'll change for all players. Here's the code.
while true do A = script.Parent --Put this directly as a child of the Screen GUI! A.Llama.Visible = true wait(3) A.Llama.Visible = false A.Rank.Visible = true wait(3) A.Rank.Visible = false A.AntiSpam.Vislble = true wait(3) A.AntiSpam.Visible = false A.AntiKill.Visible = true wait(3) A.AntiKill.Visible = false A.Approval.Visible = true wait(3) A.Approval.Visible = false A.Report.Visible = true wait(3) A.Report.Visible = false wait(3) end
Is this in a LocalScript or a Server-side script?
If it is inside of a localscript then you should use
game.Players.LocalPlayer.PlayerGui
otherwise you will need to find the player's name somehow.
The startergui only changes upon respawn or rejoining the server.
You need to go through the player gui
Player1.PlayerGui.A.Antikill.Visible = true
That should help you get the idea of rewriting it.
Locked by JesseSong
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?