How to Make Character Loose Health After Respawn?

Hi, I am trying to created a 2D platformer similar to Mario but I am running into some trouble. I have created a respawn system and a health bar system but I don’t know how to make it so the health is reduced after my character dies by falling off the map? Help would be greatly appreciated, Thanks!

Can anyone please help me?