Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make it so when you press a button on the GUI, it morphs you?

I am making a game, I need to know how to do that.

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.