Just a quick question, lets say I want the player who got shot in the leg unable to run, how do I stop them from sprinting?
Check for running animation or detect keys while they're on foot. So in case if the player has got a shot on leg, you can detect and avoid it by setting some other animation like using walk or fall.