I think I have the general idea on how to pull this off, but I need some help with execution. What I have:
variable called playerhealth starts as 20 (Player's starting health)
when something needs to edit player's hp, it changes the variable. My question is what code or thing do you need to do to set the player's HP to the variable playerhealth
If you see this, and know the answer, please respond!