I have it setup so that if you run your max speed is x, but if you hold shift when running your max speed is y.
When you release shift your max speed returns to x, but I want your deceleration to stay at a certain level for about one second afterwards, even though your speed has been reset.
How best to do this? Thanks!