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 animations function when the button is Clicked?

I already made an emote gui an some animation buttons like "dab" and "wave"...But when clicked... nothing happens...How do make an animation play when I click the button?

1 comment

0

When the button is pressed, load the specific animation and then play it using. humanoid:LoadAnimation(Animation Object):Play()

1 answer

:First off you need to make sure your script for playing the animation actually works, to test it you should add a script that waits a little bit, then makes a humanoid you put into the game play the animation. If your script is working then all you need to do is put a script inside of the button with the function MouseButton1Click, then inside the function put your animation script.

This discussion is preserved as it was. New answers, comments, and votes are closed.