I'm trying to have a script what makes the frame disappear when the button is clicked but it doesn't work. It doesn't work
1 do button.MouseButton1Click:connect(function()
2 frame.Visible = not frame.Visible
3 end
when I press the button the frame just stay there.
Thanks but it says button and frame are unknown.
