You can use a timer so after a button is pushed for so long the animation changes to sprint and you increase the player speed.
On button down wait 2 seconds, set timer = 1
on timer =1 set player animation sprint, set player speed to 500
Something like that.