Working on a stamina system, problem is Im pretty new, I have been struggling with my stamina systems and bars, sometimes, I will get it to work but make a mistake and cant redo what I did.
Note: I added the percval to try if the error will still show up, but I guess that it still doesnt work
originally, percval isnt there but when i screenshotted i was in the middle of trying it.
You should probably change this to scripting support.
seems like your value objects are string values instead of number values so try replacing those. You could also use Stamina.Changed to update the ui instead of a while loop