How to make walking animation change according to walkspeed

To add more context. Me and my friends have a game. In the game, we have an “adrenaline” potion (just a speed potion.) I wrote up the speed potion part just fine and it works, but it looks awkward because there’s no running animation. So I made a running animation. Now I need to make it work. My initial thought was to make a script that changes the walking animation if walkspeed is higher than a certain number, but I’m not a great scripter so I don’t know if that’s the most efficient way to do it. this is probably pretty easy so I would appreciate help.