command /targ: trigger: wait a tick open chest with 6 rows named "&1&l&oTargi" to player set {_targi::*} to {targi2::*} set {_targi} to size of {targi2::*} loop {_targi} times: add 1 to {targil} set {targio.%{targil}%} to player add {targio.%{targil}%} to {targi2::*} wait 0.01 second format slot {targil} of player with chest named "&d&oTarg %{targio.%{targil}%}" to close then run "sprawdz %player%" on join: add player to {targi2::*} set {targil} to -1 on quit: clear {targio.%{targil}%} set {targil} to -1 clear {targi2::*} set {_targi::*} to {targi2::*} set {_targi} to size of {targi2::*}