Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to play animations on a rigged NPC?

I've created a Panda, and I've rigged it. I've also crated animations for it. How can I make the NPC play the animations when walking, idling, etc.? (The NPC is not rigged the same as a regular character.)

1 answer

✓ Accepted answer

You need to load in the animation, then run it when you need to run it. For example, when they run, load and run the running animation.

local Animation = WhateverYouAnimIs
local LoadAnim = Player.Humanoid:LoadAnimation(Animation)
LoadAnim:Play()

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