Hi guys, I wanted to add the possibility for the player to acquire an additional maximum life but the bar goes out of place and the text is not updated.
in the opposite direction by decreasing the values everything works correctly, can anyone tell me what I’m doing wrong?
ps: I don’t want to use any extension
what condition is the set text in?
You need to increase save.PlayerMaxHp when you increase save.PlayerHp. Otherwise you’ll get to the state where the health is greater than the max health value.
thanks mr men that was only the problem! solved