Hi, I Just Want To Know How To Make A Script That Closes And Open When Clicked, You Can Also Help Me Little Bit More By Adding Like "How To Make A Gui That You Have To Pay Robux" or "How To Make A GUI Backpack When Collected" Or ETC.
COMMUNITY QUESTION
How Can I Make A Gui Open When Clicked and Closed When Clicked Again?
1 answer
This is a pretty simple solution. This example uses a local script inside a text button:
local button = script.Parent
button.MouseButton1Click:Connect(function()
button.Visible = not button.Visible --set it to the opposite value
end)
2 comments
0
Boo gioni, boo.
0
ur boo
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
learn how to use functions, MouseButton1Clicked, and if statements to do that. All of them are pretty easy to do. You can't just ask for free scripts here, dude.
No requests.