So I know how to make a gui where a button opens it and another closes it, but how would I make it so the same button can open/close a frame?
✓ ANSWER ACCEPTED
How would I make an open/close button?
1 answer
✓ Accepted answer
here:
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Frame.Visible = not script.Parent.Parent.Frame.Visible
end)
if you want it to slide you would have to use another script thats involves tweening.
1 comment
0
Why don't you just use "false" instead?
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Just a reminder, we aren't a script request community, we fix code for you. I'm sure there a plenty of tutorials on the topic