on damage of player:
if projectile is an arrow:
if victim's health is 10:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤❤❤❤❤❤"
if victim's health is 9.5:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤❤❤❤❤&c❥"
else if victim's health is 9:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤❤❤❤❤&7❤"
else if victim's health is 8.5:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤❤❤❤&c❥&7❤"
else if victim's health is 8:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤❤❤❤&7❤❤"
else if victim's health is 7.5:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤❤❤&c❥&7❤❤"
else if victim's health is 7:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤❤❤&7❤❤❤"
else if victim's health is 6.5:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤❤&c❥&7❤❤❤"
else if victim's health is 6:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤❤&7❤❤❤❤"
else if victim's health is 5.5:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤&c❥&7❤❤❤❤"
else if victim's health is 5:
set action bar of attacker to "%victim's display name% &4❤❤❤❤❤&7❤❤❤❤❤"
else if victim's health is 4.5:
set action bar of attacker to "%victim's display name% &4❤❤❤❤&c❥&7❤❤❤❤❤"
else if victim's health is 4:
set action bar of attacker to "%victim's display name% &4❤❤❤❤&7❤❤❤❤❤❤"
else if victim's health is 3.5:
set action bar of attacker to "%victim's display name% &4❤❤❤&c❥&7❤❤❤❤❤❤"
else if victim's health is 3:
set action bar of attacker to "%victim's display name% &4❤❤❤&7❤❤❤❤❤❤❤"
else if victim's health is 2.5:
set action bar of attacker to "%victim's display name% &4❤❤&c❥&7❤❤❤❤❤❤❤"
else if victim's health is 2:
set action bar of attacker to "%victim's display name% &4❤❤&7❤❤❤❤❤❤❤"
else if victim's health is 1.5:
set action bar of attacker to "%victim's display name% &4❤&c❥&7❤❤❤❤❤❤❤"
else if victim's health is 1:
set action bar of attacker to "%victim's display name% &4❤&7❤❤❤❤❤❤❤❤❤"
else if victim's health is 0.5:
set action bar of attacker to "%victim's display name% &c❥&7❤❤❤❤❤❤❤❤❤"
on death of player:
if projectile is an arrow:
set action bar of attacker to "%victim's display name% &7❤❤❤❤❤❤❤❤❤❤"