Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to script a Gui to be seen once at start up and then go away?

I put a script in the text button, it makes it go away but then after each death it comes back up on screen.

`local function OnClick() script.Parent.Parent:Remove() end

script.Parent.MouseButton1Click:connect(OnClick)`

1 comment

0

Remove() is deprecated

1 answer

✓ Accepted answer

Just make the Screen Gui's ResetOnSpawn property false.

This discussion is preserved as it was. New answers, comments, and votes are closed.