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

Playing a moon animation with a script?

Asked by 4 years ago

Hi! In my fps shooter I have exported a moon animation (Walking animation). But I'm very confused on how to play it from a script. I have also watched many tutorials but none of them talk about this feature. Any ideas? Thank you!

1 answer

Log in to vote
0
Answered by
A_Mp5 222 Moderation Voter
4 years ago

Use moon animator to export the animation into an animation instance, then just put it inside a script and use :Play()

0
Ok this works. But how would I play it only when the player walks? ThatsSad523 2 — 4y
0
you need to check the humanoids "Velocity" if its above 4 (or something, i dont remember) then apply the *Looped Animation, if its below 4 then apply the Idle/Walk CrazyCats84 154 — 4y
0
for example A_Mp5 222 — 4y
Ad

Answer this question