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 give NPC's basic animations like the idle pose and walk?

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

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!

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