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