Healing health bar

How do I make health bar that is decreased by specific objects and increased by others? I’m making a game as a Mid-Term Honors project and would love to have this answered soon as its due dec.15

Link to game https://flowlab.io/game/view/118823


Oh thanks man! Shoulda noticed that to be honest XD. Don’t know what I would have done without this thanks!