I’m trying to make a GUI disappear once a button is clicked but its not disappearing. I don’t know any other approaches. This was done in a local script.
local button = script.Parent
button.MouseButton1Click:Connect(function()
button.Parent.Parent = game.ServerStorage
end)
No reason to send it to server storage thats just cluttering it up and can cause gui issues later, just :Destroy() or Debris:AddItem() or just hide it with the Enabled attribute