How to create a node that executes when a value becomes 0

Every time you apply damage you then immediately check against death.