How do I prevent the character from sprinting when the stamina value is 0?

Whats up with all those branches? Also why dont you try using timers + bool that controls whatever you can sprint or not