Stop player from sprinting when not moving

I’m not sure what to edit/don’t under what I’m looking at. I know what deceleration is though.