Adding a stamina system to an existing sprint script help

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    Adding a stamina system (with no GUI) to an existing sprint script with if possible a sound played when the stamina is = 0

  2. What is the issue? Include screenshots / videos if possible!
    Even after multiple versions I can’t figure out how to make it possible

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Didn’t saw any topics that could really help me I tried modifiying this code :

original.txt (2.0 KB)

The modified code ( not working)

Modified not working.txt (3.4 KB)

Thank you for reading help would be really appreciated

1 Like