Change walking animation while the player is walking, not working

So I’m trying to change the players walking animation while he is walking. I decided to try and swap out “Animate” script but that isn’t working until i stop and walk again, I don’t know how to fix that :confused: .

Anyone have any suggestions on how to go around this?

1 Like

Can you show us the script? I suspect this is because the Animation Track is still loading after you have stopped the first animation.

If you always want this to be the walking animation just change the “Animate” scripts walking animation id.

I’m having this same problem, I’m trying to figure out how to force the Animate script to reload the animation.

Edit: I found the fix. Run this code on the client when the animation changes:

if humanoid:GetState() == Enum.HumanoidStateType.Running then
	humanoid:ChangeState(Enum.HumanoidStateType.Landed)
end
2 Likes