on death:
victim is a player
attacker is player
add 1 to {%attacker's uuid%::kills}
if {%attacker's uuid%::kills} = 10:
give attacker 1 oak log named "10 kills!"
set death message to "%attacker% killed %victim%"
command killcount [<offlineplayer>]:
trigger:
if arg-1 is not set:
send "Your killcount is %{%player's uuid%::kills} ? 0%!"
else:
send "%arg-1%'s killcount is %{%arg-1's uuid%::kills} ? 0%!"
why it no work the script ? some one can help me