Hey, I am really new to scripting so I made this gui that destroys itself after someone press the play button but it keeps coming back once the player dies here is the script
Player = game.Players.LocalPlayer
Menu = script.Parent
Play = Menu.Play
function PlayDaGame()
Menu:Remove()
wait(1)
end
Play.MouseButton1Down:connect(PlayDaGame)

1 comment
Thanks!