This is the script I have, but it doesn't do anything.
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Visible = false
script.Parent.Parent.Parent.TextButton.Visible = true
end
I tried in a normal script, and a LocalScript but neither work. Thank you in advance. I'm pretty new to scripting with GUIs so if this is kind of an obvious question and/or fix, that's why.

1 comment
Thanks for your help!