ariables: {kille.%player%} = 0 on join: set {kille.%player%} to 0 on death: if victim is a player add 1 to {kille.%player%} if number of {kille.%player%} is 10 execute console command "/pex user %loop-player% add mroczekk.kills.1" if number of {kille.%player%} is 20 execute console command "/pex user %loop-player% add mroczekk.kills.2" on right click on villager: name of villager is "cos tam" execute console command "/zestawy" command /zestawy: trigger: open chest with 3 rows named "zestawy" to player wait 2 tick format slot 0 of player with chest named "Zezwolne od 10 killi" to close then run [execute console command "/zestawydaj kille1"] format slot 1 of player with chest named "Zezwolne od 20 killi" to close then run [execute console command "/zestawydaj kille2"] ## i tak dalej... command /zestawydaj []: trigger: if arg is 1 "kille1" if player has permission "mroczekk.kills.1" give 1 276 named "uzupełnij se dalej te give" with lore "opis" to player give 1 310 give 1 311 named "tak o jak up" to player else: send "Nie zabiłeś 10 graczy" to player if arg is 2 "kille2" if player has permission "mroczekk.kills.2" give 1 276 named "blablalbla" with lore "opisek" to player else: send "Nie zabiłeś 20 graczy" to player