Stamina section is fine, but try to connect canSprint=false with isSprinting=false, then it stops sprinting even if you are pressing the sprint button because stamina reached zero.
Stamina section is fine, but try to connect canSprint=false with isSprinting=false, then it stops sprinting even if you are pressing the sprint button because stamina reached zero.