1st of all don’t invert variable conditions
Condition is checking if variable is heath is higher than max helth
If you invert it then it is checking if its lower
So you could just not invert it and check if its less than
2nd of all consider do you want to use object variables instead of global variables
IF you delete your player like he dies and he have many lives
You will lose all variables value
Not to mention global vars work between scenes
Next
1 - you did understand you should just add value to variable
2 - so you should follow same logic here where you simply add 30 to max health instead of adding max health to max health + 30
Lastly why not go with variable names
HP and HPMax
Look how long your var names are already
You will need to save it later
And it will become way too long since you will save structures
Anyway my only suspect here is that you set max health to max health + 30
But that should work
If not then i have no idea

