When you fall and set the player to crouch set another var, a bool named isHurt to true. Off of your crouch and sprint action buttons run a branch and plug this in. If it is true, do nothing, if it is false crouch or sprint. after the 3 second delay set it back to false.