Help with default animate scipt

Hi everyone! Just a quick one today,

I was wandering if it was possible to modify the default ‘animate’ script . I would like to change when the ‘walk’ and ‘run’ is activated. I am trying to make the player ‘walk’ when it is at the walk-speed 11 and ‘run’ when at the speed 20

I believe it is something to do with this script here but I can’t put my finger on what to change:

I have tried changing the numbers but had no luck!

If anyone has any suggestions please tell me! I am rubbish with animations!

Any help would be much appreciated!

“if speed < 20”

This should work, you should add more things so it will fully work.