Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

How do I make the shop GUI button open?

Asked by 1 year ago

So, I've been making this game. I know how to make the shop GUI button, but how do I make it open a GUI? I suck at scripting, so I came here.

0
wiki.roblox.com is the place to start. INOOBE_YT 386 — 1y

1 answer

Log in to vote
0
Answered by 1 year ago

Simple make a local script in the GUI you want to make visible or open

script.Parent.MouseButton1Down:connect(function()
script.Parent.Parent.YourFrame.Visible = not script.Parent.Parent.YourFrame.Visible
end)
-Line was too short put them together and it should work
Ad

Answer this question