How do you make a screen GUI where it is only allowed to be seen on enter, and then it goes away. For example, I need a script that makes sure my screen GUI doesn't appear again after the player resets or dies.
Simple make a script like this:
game.Players.PlayerAdded:connect(function(plr) repeat wait() until plr.PlayerGui a = script.guiname:clone() a.Parent = plr.PlayerGui end)
This clones a GUI inside of the script located in workspace, the even finds a plr being added and waits for their playergui then clones a GUI (On Enter GUI) to that player. It doesn't do it again as it only waits for a player enters.
You could turn off ResetPlayerGuiOnSpawn and it will make it so that all GUI changes stay how they are once you die.
http://wiki.roblox.com/index.php?title=ResetPlayerGuiOnSpawn_(Property)
local NAME = lol --Set to GUIs name and make sure it's parent of this game.Players.PlayerAdded:connect(function(CHEESE) wait(0) script.Parent.Parent = CHEESE.LocalPlayer.PlayerGui wait(1) CHEESE.Player.PlayerGui.NAME:Destroy() end
Done