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

why wont playing an animation on an npc work?

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()

2 comments

0

cmon guys answer

0

where is the animation controller being parented too?

1 answer

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

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