Michael's superhero

i use the timer to refresh stamina and such, and im having trouble
figuring out how to test for that. i also have a function (reduceStamina) that I just can't get to work. it keeps saysing stamina is NaN for some reason