I am making a game, I need to know how to do that.
COMMUNITY QUESTION
How do I make it so when you press a button on the GUI, it morphs you?
2 answers
TextButtons and ImageButtons have the MouseButton1Down event which fires when they are clicked. You can have your other code run from that event:
Button.MouseButton1Down:connect(function()
end)
sure. (put this script in the button for it to work)
script.Parent.MouseButton1Down:connect(function()
-- Put code here
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
