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

How do you make an animation for an NPC?

Asked by 8 years ago
controller = script.Parent.Parent.Parent.Humanoid.AnimationController
local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/Asset?ID=282676161"
local animTrack = controller:LoadAnimation(animation)
animTrack:Play()

My guess...

Answer this question