Hello helpers, I've got a question, I've got an Intro GUI, but whenever you die the GUI shows up again, the close button has the following script:
function CloseGui()
script.Parent.Parent.Visible = False
end
script.Parent.MouseButton1Click:connect(CloseGui)
I use visible instead because this won't do anything:
function CloseGui()
script.Parent.Parent:Destroy()
end
script.Parent.MouseButton1Click:connect(CloseGui)
Pls help it's annoying to have the into GUI all the time
Script is inside a button, which is inside a frame, inside a screen GUI, inside the starter GUI.

3 comments
Thx a lot, DaCrazyDec
np
this method is very insufficient, because with ResetPlayerGuiOnSpawn on, if the script said the shown variable was true, it would show up every time.