options: enchant: protection 4 and unbreaking 3 variables: {set.1} = false {set.2} = false {set.3} = false {set.4} = false {set.5} = false {set.6} = false {set.7} = false {set.8} = false {set.9} = false command /resetuj: trigger: if player has permission "set.ADMIN": loop 9 times: set {set.%loop-number%} to false on inventory close: if player's boots is diamond boots of {@enchant}: if player's leggings is diamond leggings of {@enchant}: if player's chestplate is diamond chestplate of {@enchant}: if player's helmet is diamond helmet of {@enchant}: loop 9 times: if {set.%loop-number%} is false: set {set.%loop-number%} to true set {secik.%loop-number%} to player stop else: if {secik.%loop-number%} is player: stop command /ranking: trigger: wait 1 tick open chest with 6 rows named "&4&lSpis graczy z setem 4/3" to player wait 1 tick loop 9 times: set {slot.%player%} to loop-number - 1 format slot {slot.%player%} of player with diamond helmet of {@enchant} to be unstealable loop 9 times: set {slot.%player%} to loop-number + 8 format slot {slot.%player%} of player with diamond chestplate of {@enchant} to be unstealable loop 9 times: set {slot.%player%} to loop-number + 17 format slot {slot.%player%} of player with diamond leggings of {@enchant} to be unstealable loop 9 times: set {slot.%player%} to loop-number + 26 format slot {slot.%player%} of player with 1 of diamond boots of {@enchant} to be unstealable loop 9 times: set {slot.%player%} to loop-number + 44 if {set.%loop-number%} is false: format slot {slot.%player%} of player with 1 of 397:3 named "&c&l%loop-number%. &aGracz: &a&lBrak" to be unstealable else: format slot {slot.%player%} of player with 1 of 397:3 named "&c&l%loop-number%. &aGracz: &a&l%{secik.%loop-number%}%" to be unstealable