Can you confirm the IsSprinting is actually changing to false? You only change it if it is 0 or less, you should also change it when the velocity is 0 or no movement keys are pressed.
Can you confirm the IsSprinting is actually changing to false? You only change it if it is 0 or less, you should also change it when the velocity is 0 or no movement keys are pressed.