Siema, mam taki problem, że jak wpisuje /staty to pokazuje się itemki z statami mieczyk - kille a czaszka szkieleta to - smierci
i problem jest w tym, że liczba killi się pokazuje a śmierci już nie
variables:
{kille::%player%} = 0
{smierci::%player%} = 0
on death of player:
add 1 to {smierci::%player%}
if attacker is player:
add 1 to {kille::%attacker%}
add 1 to {smierci::%victim%}
command /staty:
trigger:
open chest with 1 rows named "&eTWOJE STATYSTYKI: &6%player%" to player
wait 1 tick
format slot 3 of player with 1 of Diamond Sword named "&3TWOJE ZABOJSTWA: &4%{kille::%player%}%" with lore "&aTO SĄ TWOJE KILLE" to be unstealable
format slot 5 of player with 1 of Skeleton Skull named "&8TWOJE SMIERCI: &0%{smierci::%player%}%" with lore "&4TO SĄ TWOJE SMIERCI" to be unstealable