hey, just making a stamina bar, but i'm having some issues
so basically, i'm having it when the player presses shift, an event is called for the server to calculate the player running. the server would then ping back to the client for the stamina bar, and etc. not the greatest, as i'll probably have to do it on both client and server if i want it to be responsive, but i wanna fix this issue first
don't wanna overexplain it, since i'll post the code, but for some reason, stamina stays at 99? i was sure to change it at the actual source, but it doesn't seem to do anything
here's the server script
https://www.codedump.xyz/lua/acsyEESoN1T67sOb
the client script is working fine, as i've tested. the hooks activate, it's just the for loop i'm trying to figure out why it's not working
** You are now Level 2! **