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 add an animation to an NPC?

I made the animation with the editor and need to upload it into the NPC. The wiki confused me, can you guys help?

1 answer

Upload the animation ( costs 30 robux :( ), once it's uploaded, get the link to it. Try rereading this part of the wiki.

So, in a script you:

AnimationController = Instance.new("AnimationController")
AnimationTrack = AnimationController:LoadAnimation("LINK TO YOUR ANIMATION ID.")

AnimationTrack:Play() -- Plays the loaded animation.

7 comments

0

The wiki is not descriptive enough. Can you tell me step by step?

0

Have you uploaded an animation?

0

Yes.

0

Edited my answer.

0

Where do you put the script?

0

In a script in workspace. Do you need the animaion to be playing constantly?

0

Do I need an animationController? Do I need to place an animation object anywhere?

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