Place a zone at the bottom of the map, and wire it to a damager:
when player enters zone → deal damage
In that case just use this:
Then just make the zone higher than the player can jump. This way, when the player jumps off the ground, it will not deal damage, but when the fall from anywhere higher, it’ll deal damage.
I thought you meant they want the player to be able to regenerate health, my bad.
Sorry @ThatOneBee and @Dungeonmaster for the confusion, I’ll shut up from here on lol The topic has already been solved, so its my bad for trying