on damage of entity: victim is not armor stand victim is not player set {_name} to name of victim if {entity.damage::%victim%} is not set: set {entity.damage::%victim%} to name of victim set {_damage} to damage set {_health2} to victim's health set {_health} to victim's health - {_damage} set victim's name to "%{entity.damage::%{_name}%}% &a%{_health2}% / %{_health}%"