How to get walk amin from a script

Hello everyone, I am making a crouch script and I am mixing the characters walk animation with the crouch animation and I need to know how to slow the walk aminanimation down because the animation in all looks really weird with the arms walking so fast and the crouch animation itself so slow. Any Help (sorry if I am making this seems too confusing, it really means how do I slow the player walking animation from a script)

If you get the animation track, then use
the AdjustSpeed() function listed here:

sorry for asking but, my real question is how to get the walk amin amination track

Did you animate the arms? Does the script change the walkspeed of the player?

i didnt animate the arms in the crouching amin and yes i did change the walkspeed but that did no effect to the walking amination

Are you trying to mix toghether two animations?

i just want the walking amination (not a custom one) to be slower because the when i mixed the two, the walking amination controls the arms and legs while the crouching amin controls the torso. The walking amination looks weird because the arms are going really fast compared to the crouching amin.

I think you should modify the walking animation instead of mixing them
and if you want to get the animation (you cant get the track) you can find it
under the animate script.

I think you just have to animate the crouching animation fully.

Wait wait wait wait… Did you set the animation priority to movement?

I did do that to the crouching anim

Remake the animation but animate all parts of the character and you should be fine. Then adjust the speed of the animation with AnimationTrack:AdjustSpeed()

2 Likes