Why is my animation tilted when it's executed but not when im editing it?

I wanna know the problem to this, it only gets tilted when i rename the humanoid to zombie.

This is the animation editor
ok

Comparison with zombie
ok1

Also the script playing the animation is the same but with slight changes. I didn’t really care about doing variables and implementing it in other stuff because i was testing it.

script.Parent.Humanoid:LoadAnimation(script.Animation):Play()

and

script.Parent.Zombie:LoadAnimation(script.Animation):Play()

The script was inserted inside the model and the animation was inserted inside the script

It looks like the torso is trying to match the orientation of the root part. Not sure whats causing it, but that should hint as to whats going on.

2 Likes

Thanks, didnt think of that. The problem was that the zombie didnt have a rootpart.

2 Likes