Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I made a GUI, and I don't want it to come up when I reset?!?

Any answers?

thanks

1 answer

Have the GUI put into the PlayerGui once the player has been added to the game, but don't add it whenever the character respawns. You can do this by utilizing the PlayerAdded event, like so:

game.Players.PlayerAdded:connect(function(Player)
	local GUI = script.GUI:Clone()
	GUI.Parent = Player.PlayerGui
end)

This event only fires once a player has been added to the game, so it will only fire once for each player. Meaning that the GUI will only show up once. Hope this helped!

This discussion is preserved as it was. New answers, comments, and votes are closed.