LoadAnimation not working

The title pretty much says it all, LoadAnimation isn’t working. I know Humanoid:LoadAnimation is deprecated, but almost every solution I’ve tried involves placing an Animator in the Humanoid, then using Animator:LoadAnimation, which also doesn’t work.
The code:


(The animation instance is in a folder in the workspace)
I’ve also tried this:

which also doesn’t work any better
please help thanks

Is there any error in the output?

The truth is, I realize that you did not investigate ANYTHING, you do not have to put an animator for a player or a dummy to make an animation, simply add a script in the dummy and then you put an animation to the script, you add the animation ID then later do this:

wait (1)
local animacion = Script.Animation
local  humano = Script.Parent.Humanoid
local cargaranimacion = humano:LoadAnimation(animacion)

You should make more variables before executing the function

Turns out I was an idiot and accidentally put the wrong animation ID into the Animation, it worked perfectly fine but the animation wasn’t looped so i just didn’t see it

oops

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.