on damage:
set {_health} to floor(health of victim*10)
set score "%%" below victim to {_health} for attacker
every 1 seconds:
loop all players:
world of loop-player is not "Spawn"
wait 0.1 tick
set {_health} to floor(health of loop-player*10)
loop all players:
set score "%%" below loop-player-1 to {_health} for loop-player-2```