Can someone tell me how to make a clickable GUI for my game?Please, just someone! If you want to help me build I have placed a Team Create in my game! Thank you!
COMMUNITY QUESTION
How to make a clickable GUI?
1 answer
Put a TextButton in the GUI you want there to be a clickable button on. Then, put this script inside it:
script.Parent.MouseButton1Click:connect(function()
-- Code that activates when you click the button
end)
Calling MouseButton1Click detects when the user clicks the button, then runs a code. In this case, it is calling script.Parent which is the TextButton.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Use a TextButton.
Also, make sure to use either of the events that it uses: simply doing 'Button.Clicked' wont work. ;-;
Why are people downvoting this? It's a fairly simple question.