Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What is wrong with my script?

Asked by 9 years ago

So, basically what the script does is insert a GUI if a certain player is here (such as me) and the script is below. What's the problem?

if game.Players.Name == "JustARegularGuy804" then
    game.StarterGui.JustARegularGuy804.visible = true
    wait(10)
    game.StarterGui.JustARegularGuy804.visible = false
end

The GUI's name is "JustARegularGuy804" so then it should show it for 10 seconds, then be gone forever.

****PLEASE BE A BIG HELP, I AM NEW TO SCRIPTING

Answer this question