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

why wont playing an animation on an npc work?

Asked by 8 years ago

im trying to play an animation on an npc and it wont work i have the right setup and everything: https://gyazo.com/fef217da37511e8e9c81445804e3e0a2 but it wont work

local animController = Instance.new("AnimationController")
local animTrack = animController:LoadAnimation(animation)
animController.AnimationId = 337868735 
animTrack:Play()
0
cmon guys answer smashfighter2 0 — 8y
0
where is the animation controller being parented too? koolkid8099 705 — 8y

1 answer

Log in to vote
0
Answered by
Unlimitus 120
8 years ago

Despite what the wiki says, Load the animation into a humanoid. That seemed to work for me.

Ad

Answer this question