View difference between Paste ID: 4rQHAdYP and GJvUQQZm
SHOW: | | - or go back to the newest paste.
1
on damage of entity:
2
	victim is not armor stand
3
	victim is not player
4
	set {_damage} to damage
5
	set {_health2} to victim's health
6
	set {_health} to victim's health - {_damage}
7-
	set victim's name to "%victim% &a%{_health2}% / %{_health}%"
7+
	set victim's name to "%name of victim% &a%{_health2}% / %{_health}%"