Do you want to show the health bar or just text?
Healthbar
If you want your max health bar to be eg 250px
Your on top health bar should be 250 / 20 * amount of current hp.
So 5hp will be 62.5px wide to show the hp
Text
Global variable = current hp
Set text to "current hp" & "/20"