I've read that you should use "Animation Controller" but it doesn't work for me..
I tried to make the zombie plays idle animation using this script
local animController = Instance.new("AnimationController") local animTrack = animController:LoadAnimation(animation) animTrack:Play()
but it doesn't work.
I've Rig the character Perfectly. I've animate it using the Roblox Animation Plugin too.
I just need to have a working script so that my animation (id) can be loaded to that zombie.
You don't need an animation controller. Make sure your zombie has a Humanoid then do the :LoadAnimation function into the Humanoid and maybe do Instance.new("Animation") to the humanoid. Then just do Animation:Play()
local char = script.Parent local humanoid = char.Humanoid local head = char.Head
local w = humanoid:LoadAnimation(head.Dance3) w:Play()
This interacts with the head and plays the animation.
Maybe use R15 to animate it.