Need help on how to animate a characters movement.

So I know how to give a player animations but I still cant find a way of telling unity to play certain animations depending on the speed of the character. I’ve been looking for a while and still I cant find a way

The best way is to create blend tree, set different animations to blend tree and control everything with parameter being set by script. If you struggling with even simple animations then you can easily find information about animator parameters and how to control them from script.