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

How do I add an animation to an NPC?

Asked by 10 years ago

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

Log in to vote
0
Answered by
Axstin 55
10 years ago

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.
0
The wiki is not descriptive enough. Can you tell me step by step? wantedfunnybunny 0 — 10y
0
Have you uploaded an animation? Axstin 55 — 10y
0
Yes. wantedfunnybunny 0 — 10y
0
Edited my answer. Axstin 55 — 10y
View all comments (3 more)
0
Where do you put the script? wantedfunnybunny 0 — 10y
0
In a script in workspace. Do you need the animaion to be playing constantly? Axstin 55 — 10y
0
Do I need an animationController? Do I need to place an animation object anywhere? wantedfunnybunny 0 — 10y
Ad

Answer this question