Looking for fall damage tutorial

Yes, true is that in case the damage is greater than my life I die
And false is only to subtract the damage