I have got a stamina system within my game, if the player holds left shift they are able to sprint but if they do not have the stamina they’re not able to do it
I basically want to do the same with the jump, so if the player is below a certain stamina it doesnt allow them to use the jump input. And for the left click when they attack if they do not have a certain amount of stamina they cant press left click
It might be simple to do but I cant figure it out at all so any help or suggestions would be extremely helpful
Thank you