How can I do a simple death system?

Hi guys, I would create a death system for a character. I already created the death animation and an health bar but I don’t know how set the death when life go to “0”, someone could help me? Thanks

This is the health bar system

Hey,

So you have the groundwork in, all you need to do is extended you event AnyDamage. Here is a basic example:

Thank you very much!

How would I make it so that when it dies, it ends the game?

An avant-garde idea: add a ‘quit’ node on death.

So that as the user is unexpectedly taken back to their desktop, they experience the finitude of our present situation.