imgur.com/a/7XfVX
this is all i have thus far, but it wont subtract stamina value in game
See this post:
Develop games in your browser. Powerful, performant & highly capable.
thanks... my fault was rly dumb, i made an local variable instead of global