So I got a choice and you click one of two buttons. I will make them do stuff later on but for now I just want the GUI to destroy for good but when the player dies, it comes back. It's in a local script. I want it to show up when the player enters but once they click the button, it stays gone for that player forever.
local gui = script.Parent.Parent.Parent
local function onClicked()
gui:destroy()
end
script.Parent.MouseButton1Click:connect(onClicked)

1 comment
You need to explain why this would work. If you just slap the code how is he going to know what is going on?