How do I switch between movement animations?

Here is the process I am currently using to attempt to change the default animations in game. The purpose is to change the player’s animation based on what they are holding. I need a method that can change the player animations during “gameplay” and not right when they join the game. I have searched on the Forum and on Youtube, but found no answers. Any help is appreciated.

character.Animate.idle.Animation1.AnimationId = "rbxassetid://180435571"
character.Humanoid:ChangeState(Enum.HumanoidStateType.Landed)

There is no such hardcodded thing as default animations in general (hopefully but then i remember tools).
All animations by default is menaged by a local script in player’s character.
You can modify it to suit your needs.
Script’s name is “Animate”

That is what I’m doing ,

character.Animate.idle.Animation1.AnimationId = "rbxassetid://180435571"

character.Animate, which is the script you are talking about. When I change it, the animation does not “play” immediately. I have to manually move the player or make the player do some other animation for it to actually change.

Im pretty sure people had already made custom animate scripts that had fixed this problem.

Could you possibly send a few links?

I have solved the problem, all you have to do is run this line of code on the client:

character.Humanoid:ChangeState(Enum.HumanoidStateType.Landed)

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