I suspect your issue is the release of sprint key, the. EndSprint function, is setting the walk speed back to your default walk speed.