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

How do I give NPC's basic animations like the idle pose and walk?

Asked by
Dad_Bot 34
6 years ago

I've already tried to copy the script from me and paste it into the model but that didn't work, I also changed the script to a server script instead but that didn't work. I'm just trying to make it so when I tell the NPC to walk somewhere, it has the walk animation instead of just floating over to the spot. Is there any way to do this, FilteringEnabled is on by the way.

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

I think you can get what you're looking for by using a script hooked up to the "Humanoid.StateChanged" event. Depending on which state the humanoid was in, you'd call Humanoid:loadAnimation(youranimationhere):Play().

Hope this helped!

Ad

Answer this question