Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make animations function when the button is Clicked?

Asked by
Tizzel40 243 Moderation Voter
6 years ago

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?

0
When the button is pressed, load the specific animation and then play it using. `humanoid:LoadAnimation(Animation Object):Play()` YTRaulByte 389 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

: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.

Ad

Answer this question