How do I attach a death screen widget when an enemy hits my health down to zero?

I am not sure if I understood the question correctly but

When Damage Taken → Health → Less or Equal 0 → Create widget? ->add to viewport

If you have an interface, you can create a new function OnDeath and listen that event on HUD to show death panel.