I have a Gui and when the player clicks on the button it disappears. The only problem is when they respawn it pops up again. I want this to not pop up again once they have respawned.
wait(1)
script.Parent.Main.Close.MouseButton1Down:connect(function()
script.Parent:remove()
end)
Thank you.

3 comments
Doesn't work.
Right ill come up with something...
Did you replace the GUINAMEHERE with your gui's actual name?