Hey developers! My NPC isn’t dancing. I am wondering whether or not the script is wrong, I put the script and animation in the wrong spot so I am wondering if you can help.
local tool = script.Parent
local Anim = Instance.new("Animation")
Anim.AnimationId = "rbxassetid://5829546372"
local track = track = script.Parent.Humanoid:LoadAnimation(Anim)
track.Priority = Enum.AnimationPriority.Action
track.Looped = true
track:Play()
Hmm, I have a game called Chowder Monkey and my NPC’s animation wasn’t working. I found this script but you might have to type the animation twice sense it seems it only takes multiple assets (Sense it says IDs).
Instead of putting the animation in the humanoid, can the you try putting under the server script?
Also, I don’t think you should make the looped true, I think you could use it in a while loop and play that animation again and wait for it to play finish and play the animation again.
Zeus, nothing worked And chasing. When replying above the top of the text box it says Preformatted text. Then click it then copy and paste the code each line by line.