Button that deletes scripts for only you

So basically I want settings so that if a player does not want to see GUI’s and stuff they can just press a button that disables the GUI from coming back to their screen. How could I do this?

Use text/image buttons and the MouseButton1Click event, then you would probably want to use Instance:Destroy() on a few objects.

1 Like

Thing that deletes script:

(Your path to script)...:Destroy

your question

-- Gui
(Your path to gui)....Enabled = false
-- Frame/ buttons/ etc.
(Your path to it)....Visible = false
1 Like

If you want to destroy something, you can use:

Instance:Destroy()

If you want to hide something, you can find the property and use either:

Instance.Visible = false
Instance.Enabled = false
1 Like