variables:     {gracz.%player%} = 0     {vip.%player%} = 0     {svip.%player%} = 0     {mvip.%player%} = 0     {tytan.%player%} = 0     {yt.%player%} = 0 options:     gracz: 30     vip: 60     svip: 120     mvip: 180     tytan: 240     yt: 60      command /reset:     trigger:         loop all players:             set {gracz.%loop-player%} to 0             set {vip.%loop-player%} to 0             set {svip.%loop-player%} to 0             set {mvip.%loop-player%} to 0             set {tytan.%loop-player%} to 0             set {yt.%loop-player%} to 0      every 60 second:     loop all players:         if {gracz.%loop-player%} > 0:             remove 1 from {gracz.%loop-player%}             if {gracz.%loop-player%} is 0:                 send "&7Czas na kit &aGracz &7sie skonczyl!" to loop-player                      if {vip.%loop-player%} > 0:             remove 1 from {vip.%loop-player%}             if {vip.%loop-player%} is 0:                 send "&7Czas na kit &6Vip &7sie skonczyl!" to loop-player         if {svip.%loop-player%} > 0:             remove 1 from {svip.%loop-player%}             if {svip.%loop-player%} is 0:                 send "&7Czas na kit &bSVip &7sie skonczyl!" to loop-player              if {mvip.%loop-player%} > 0:             remove 1 from {mvip.%loop-player%}             if {mvip.%loop-player%} is 0:                 send "&7Czas na kit &bSVip &7sie skonczyl!" to loop-player                          if {tytan.%loop-player%} > 0:             remove 1 from {tytan.%loop-player%}             if {tytan.%loop-player%} is 0:                 send "&7Czas na kit &bSVip &7sie skonczyl!" to loop-player                          if {yt.%loop-player%} > 0:             remove 1 from {yt.%loop-player%}             if {yt.%loop-player%} is 0:                 send "&7Czas na kit &bSVip &7sie skonczyl!" to loop-player                  command /kit []:     trigger:         open chest with 5 rows named "&8[&6MediaHc&8] &7Kity serwera:" to player         set player's current inventory's slot 0 to 160:7 named " "         set player's current inventory's slot 1 to 160:7 named " "         set player's current inventory's slot 2 to 160:7 named " "         set player's current inventory's slot 3 to 160:7 named " "         set player's current inventory's slot 4 to 160:7 named " "         set player's current inventory's slot 5 to 160:7 named " "         set player's current inventory's slot 6 to 160:7 named " "         set player's current inventory's slot 7 to 160:7 named " "         set player's current inventory's slot 8 to 160:7 named " "         set player's current inventory's slot 9 to 160:7 named " "         set player's current inventory's slot 11 to 160:7 named " "         set player's current inventory's slot 13 to 160:7 named " "         set player's current inventory's slot 15 to 160:7 named " "         set player's current inventory's slot 17 to 160:7 named " "         set player's current inventory's slot 18 to 160:7 named " "         set player's current inventory's slot 19 to 160:7 named " "         set player's current inventory's slot 20 to 160:7 named " "         set player's current inventory's slot 21 to 160:7 named " "         set player's current inventory's slot 22 to 160:7 named " "         set player's current inventory's slot 23 to 160:7 named " "         set player's current inventory's slot 24 to 160:7 named " "         set player's current inventory's slot 25 to 160:7 named " "         set player's current inventory's slot 26 to 160:7 named " "         set player's current inventory's slot 27 to 160:7 named " "         set player's current inventory's slot 29 to 160:7 named " "         set player's current inventory's slot 31 to 160:7 named " "         set player's current inventory's slot 32 to 160:7 named " "         set player's current inventory's slot 33 to 160:7 named " "         set player's current inventory's slot 35 to 160:7 named " "         set player's current inventory's slot 36 to 160:7 named " "         set player's current inventory's slot 37 to 160:7 named " "         set player's current inventory's slot 38 to 160:7 named " "         set player's current inventory's slot 39 to 160:7 named " "         set player's current inventory's slot 40 to 160:7 named " "         set player's current inventory's slot 41 to 160:7 named " "         set player's current inventory's slot 42 to 160:7 named " "         set player's current inventory's slot 43 to 160:7 named " "         set player's current inventory's slot 44 to 160:7 named " "                  set player's current inventory's slot 10 to 397:3 named "Kit Gracz" with lore "&cWpisz lore jak cos"         set player's current inventory's slot 12 to 267 named "Kit Vip" with lore "&cWpisz lore jak cos"         set player's current inventory's slot 14 to 276 named "Kit SVip" with lore "&cWpisz lore jak cos"         set player's current inventory's slot 16 to 57 named "Kit MVip" with lore "&cWpisz lore jak cos"                  set player's current inventory's slot 28 to 397:1 named "Kit Tytan" with lore "&cWpisz lore jak cos"         set player's current inventory's slot 30 to 345 named "Kit YT" with lore "&cWpisz lore jak cos"         set player's current inventory's slot 34 to 270 named "Kit Admin" with lore "&cWpisz lore jak cos"                  # 10 12 14 16         # 28 30 34          on inventory click:     if inventory name of current inventory of player is "&8[&6MediaHc&8] &7Kity serwera:":         cancel event                  if clicked slot is 10:             if player has permission "gracz":                 if {gracz.%player%} is 0:                     close player's inventory                     wait 1 tick                     open chest with 3 rows named "&8[&6MediaHc&8] &7Kit Gracz:" to player                     set player's current inventory's slot 0 to air                     set player's current inventory's slot 1 to air                     set player's current inventory's slot 2 to air                     set player's current inventory's slot 3 to air                     set player's current inventory's slot 4 to air                     set player's current inventory's slot 5 to air                     set player's current inventory's slot 6 to air                     set player's current inventory's slot 7 to air                     set player's current inventory's slot 8 to air                     set player's current inventory's slot 9 to air                     set player's current inventory's slot 10 to air                     set player's current inventory's slot 11 to air                     set player's current inventory's slot 12 to air                     set player's current inventory's slot 13 to air                     set player's current inventory's slot 14 to air                     set player's current inventory's slot 15 to air                     set player's current inventory's slot 16 to air                     set player's current inventory's slot 17 to air                     set player's current inventory's slot 18 to air                     set player's current inventory's slot 19 to air                     set player's current inventory's slot 20 to air                     set player's current inventory's slot 21 to air                     set player's current inventory's slot 22 to air                     set player's current inventory's slot 23 to air                     set player's current inventory's slot 24 to air                     set player's current inventory's slot 25 to air                     set player's current inventory's slot 26 to air                     if player has permission "admin":                                          else:                         set {gracz.%player%} to {@gracz}                     send "&8[&6MediaHc&8] &7Odebrales kit &aGracz&7, milej gry :)" to player                                          # ITEMY #                                          set player's current inventory's slot 0 to iron pickaxe of efficiency 3                     set player's current inventory's slot 1 to 64 of 320                     #set player's current inventory's slot 2 to STONIARKA                 else:                     send "&8[&6MediaHc&8] &7Kit mozesz odebrac dopiero za: &a%{gracz.%player%}% &7minut!" to player             else:                 send "8[&6MediaHc&8] &7Nie posiadasz permisji!" to player                          if clicked slot is 12:             if player has permission "vip":                 if {vip.%player%} is 0:                     close player's inventory                     wait 1 tick                     open chest with 3 rows named "&8[&6MediaHc&8] &7Kit Vip:" to player                     set player's current inventory's slot 0 to air                     set player's current inventory's slot 1 to air                     set player's current inventory's slot 2 to air                     set player's current inventory's slot 3 to air                     set player's current inventory's slot 4 to air                     set player's current inventory's slot 5 to air                     set player's current inventory's slot 6 to air                     set player's current inventory's slot 7 to air                     set player's current inventory's slot 8 to air                     set player's current inventory's slot 9 to air                     set player's current inventory's slot 10 to air                     set player's current inventory's slot 11 to air                     set player's current inventory's slot 12 to air                     set player's current inventory's slot 13 to air                     set player's current inventory's slot 14 to air                     set player's current inventory's slot 15 to air                     set player's current inventory's slot 16 to air                     set player's current inventory's slot 17 to air                     set player's current inventory's slot 18 to air                     set player's current inventory's slot 19 to air                     set player's current inventory's slot 20 to air                     set player's current inventory's slot 21 to air                     set player's current inventory's slot 22 to air                     set player's current inventory's slot 23 to air                     set player's current inventory's slot 24 to air                     set player's current inventory's slot 25 to air                     set player's current inventory's slot 26 to air                     if player has permission "admin":                                          else:                         set {vip.%player%} to {@vip}                     send "&8[&6MediaHc&8] &7Odebrales kit &6Vip&7, milej gry :)" to player                                          # ITEMY #                                          set player's current inventory's slot 0 to iron helmet of protection 4, unbreaking 3                     set player's current inventory's slot 1 to iron chestplate of protection 4, unbreaking 3                     set player's current inventory's slot 2 to iron leggings of protection 4, unbreaking 3                     set player's current inventory's slot 3 to iron boots of protection 4, unbreaking 3                     set player's current inventory's slot 4 to diamond sword of sharpness 4, unbreaking 3                     set player's current inventory's slot 5 to diamond sword of unbreaking 2, knockback 2                     set player's current inventory's slot 6 to diamond pickaxe of efficiency 4, unbreaking 3                     set player's current inventory's slot 7 to 2 of 322:1                     set player's current inventory's slot 8 to 6 of 322                     set player's current inventory's slot 9 to iron helmet of protection 4, unbreaking 3                     set player's current inventory's slot 10 to iron chestplate of protection 4, unbreaking 3                     set player's current inventory's slot 11 to iron leggings of protection 4, unbreaking 3                     set player's current inventory's slot 12 to iron boots of protection 4, unbreaking 3                     #set player's current inventory's slot 2 to STONIARKA                 else:                     send "&8[&6MediaHc&8] &7Kit mozesz odebrac dopiero za: &6%{vip.%player%}% &7minut!" to player             else:                 send "8[&6MediaHc&8] &7Nie posiadasz permisji!" to player                  if clicked slot is 14:             if player has permission "svip":                 if {svip.%player%} is 0:                     close player's inventory                     wait 1 tick                     open chest with 3 rows named "&8[&6MediaHc&8] &7Kit SVip:" to player                     set player's current inventory's slot 0 to air                     set player's current inventory's slot 1 to air                     set player's current inventory's slot 2 to air                     set player's current inventory's slot 3 to air                     set player's current inventory's slot 4 to air                     set player's current inventory's slot 5 to air                     set player's current inventory's slot 6 to air                     set player's current inventory's slot 7 to air                     set player's current inventory's slot 8 to air                     set player's current inventory's slot 9 to air                     set player's current inventory's slot 10 to air                     set player's current inventory's slot 11 to air                     set player's current inventory's slot 12 to air                     set player's current inventory's slot 13 to air                     set player's current inventory's slot 14 to air                     set player's current inventory's slot 15 to air                     set player's current inventory's slot 16 to air                     set player's current inventory's slot 17 to air                     set player's current inventory's slot 18 to air                     set player's current inventory's slot 19 to air                     set player's current inventory's slot 20 to air                     set player's current inventory's slot 21 to air                     set player's current inventory's slot 22 to air                     set player's current inventory's slot 23 to air                     set player's current inventory's slot 24 to air                     set player's current inventory's slot 25 to air                     set player's current inventory's slot 26 to air                     if player has permission "admin":                                          else:                         set {svip.%player%} to {@svip}                     send "&8[&6MediaHc&8] &7Odebrales kit &bSVip&7, milej gry :)" to player                                          # ITEMY #                                          set player's current inventory's slot 0 to diamond helmet of protection 4, unbreaking 3                     set player's current inventory's slot 1 to diamond chestplate of protection 4, unbreaking 3                     set player's current inventory's slot 2 to diamond leggings of protection 4, unbreaking 3                     set player's current inventory's slot 3 to diamond boots of protection 4, unbreaking 3                                                               set player's current inventory's slot 4 to diamond sword of sharpness 5, unbreaking 3                     set player's current inventory's slot 5 to diamond sword of unbreaking 3, knockback 2                     set player's current inventory's slot 6 to diamond pickaxe of efficiency 5, unbreaking 3                     set player's current inventory's slot 7 to 4 of 322:1                     set player's current inventory's slot 8 to 10 of 322                     set player's current inventory's slot 9 to diamond helmet of protection 4, unbreaking 3                     set player's current inventory's slot 10 to diamond chestplate of protection 4, unbreaking 3                     set player's current inventory's slot 11 to diamond leggings of protection 4, unbreaking 3                     set player's current inventory's slot 12 to diamond boots of protection 4, unbreaking 3                     #set player's current inventory's slot 2 to STONIARKA                 else:                     send "&8[&6MediaHc&8] &7Kit mozesz odebrac dopiero za: &b%{svip.%player%}% &7minut!" to player             else:                 send "8[&6MediaHc&8] &7Nie posiadasz permisji!" to player                  if clicked slot is 16:             if player has permission "mvip":                 if {mvip.%player%} is 0:                     close player's inventory                     wait 1 tick                     open chest with 3 rows named "&8[&6MediaHc&8] &7Kit MVip:" to player                     set player's current inventory's slot 0 to air                     set player's current inventory's slot 1 to air                     set player's current inventory's slot 2 to air                     set player's current inventory's slot 3 to air                     set player's current inventory's slot 4 to air                     set player's current inventory's slot 5 to air                     set player's current inventory's slot 6 to air                     set player's current inventory's slot 7 to air                     set player's current inventory's slot 8 to air                     set player's current inventory's slot 9 to air                     set player's current inventory's slot 10 to air                     set player's current inventory's slot 11 to air                     set player's current inventory's slot 12 to air                     set player's current inventory's slot 13 to air                     set player's current inventory's slot 14 to air                     set player's current inventory's slot 15 to air                     set player's current inventory's slot 16 to air                     set player's current inventory's slot 17 to air                     set player's current inventory's slot 18 to air                     set player's current inventory's slot 19 to air                     set player's current inventory's slot 20 to air                     set player's current inventory's slot 21 to air                     set player's current inventory's slot 22 to air                     set player's current inventory's slot 23 to air                     set player's current inventory's slot 24 to air                     set player's current inventory's slot 25 to air                     set player's current inventory's slot 26 to air                     if player has permission "admin":                                          else:                         set {mvip.%player%} to {@mvip}                     send "&8[&6MediaHc&8] &7Odebrales kit &cMVip&7, milej gry :)" to player                                          # ITEMY #                                          set player's current inventory's slot 0 to diamond helmet of protection 6, unbreaking 3                     set player's current inventory's slot 1 to diamond chestplate of protection 6, unbreaking 3                     set player's current inventory's slot 2 to diamond leggings of protection 6, unbreaking 3                     set player's current inventory's slot 3 to diamond boots of protection 6, unbreaking 3                                                               set player's current inventory's slot 4 to diamond sword of sharpness 6, unbreaking 3                     set player's current inventory's slot 5 to diamond sword of unbreaking 3, knockback 2                     set player's current inventory's slot 6 to diamond pickaxe of efficiency 6, unbreaking 3                     set player's current inventory's slot 7 to 8 of 322:1                     set player's current inventory's slot 8 to 16 of 322                     set player's current inventory's slot 9 to diamond helmet of protection 6, unbreaking 3                     set player's current inventory's slot 10 to diamond chestplate of protection 6, unbreaking 3                     set player's current inventory's slot 11 to diamond leggings of protection 6, unbreaking 3                     set player's current inventory's slot 12 to diamond boots of protection 6, unbreaking 3                     set player's current inventory's slot 13 to bow of power 6, punch 2, infinity 1                     set player's current inventory's slot 13 to arrow                     set player's current inventory's slot 13 to 4 of ender pearl                     #set player's current inventory's slot 2 to STONIARKA                 else:                     send "&8[&6MediaHc&8] &7Kit mozesz odebrac dopiero za: &c%{mvip.%player%}% &7minut!" to player             else:                 send "8[&6MediaHc&8] &7Nie posiadasz permisji!" to player                  if clicked slot is 28:             if player has permission "tytan":                 if {tytan.%player%} is 0:                     close player's inventory                     wait 1 tick                     open chest with 3 rows named "&8[&6MediaHc&8] &7Kit Tytan:" to player                     set player's current inventory's slot 0 to air                     set player's current inventory's slot 1 to air                     set player's current inventory's slot 2 to air                     set player's current inventory's slot 3 to air                     set player's current inventory's slot 4 to air                     set player's current inventory's slot 5 to air                     set player's current inventory's slot 6 to air                     set player's current inventory's slot 7 to air                     set player's current inventory's slot 8 to air                     set player's current inventory's slot 9 to air                     set player's current inventory's slot 10 to air                     set player's current inventory's slot 11 to air                     set player's current inventory's slot 12 to air                     set player's current inventory's slot 13 to air                     set player's current inventory's slot 14 to air                     set player's current inventory's slot 15 to air                     set player's current inventory's slot 16 to air                     set player's current inventory's slot 17 to air                     set player's current inventory's slot 18 to air                     set player's current inventory's slot 19 to air                     set player's current inventory's slot 20 to air                     set player's current inventory's slot 21 to air                     set player's current inventory's slot 22 to air                     set player's current inventory's slot 23 to air                     set player's current inventory's slot 24 to air                     set player's current inventory's slot 25 to air                     set player's current inventory's slot 26 to air                     if player has permission "admin":                                          else:                         set {tytan.%player%} to {@tytan}                     send "&8[&6MediaHc&8] &7Odebrales kit &4Tytan&7, milej gry :)" to player                                          # ITEMY #                                          set player's current inventory's slot 0 to diamond helmet of protection 7, unbreaking 4                     set player's current inventory's slot 1 to diamond chestplate of protection 7, unbreaking 4                     set player's current inventory's slot 2 to diamond leggings of protection 7, unbreaking 4                     set player's current inventory's slot 3 to diamond boots of protection 7, unbreaking 4                                                               set player's current inventory's slot 4 to diamond sword of sharpness 7, unbreaking 3                     set player's current inventory's slot 5 to diamond sword of unbreaking 3, knockback 2                     set player's current inventory's slot 6 to diamond pickaxe of efficiency 7, unbreaking 3                     set player's current inventory's slot 7 to 12 of 322:1                     set player's current inventory's slot 8 to 24 of 322                     set player's current inventory's slot 9 to diamond helmet of protection 7, unbreaking 4                     set player's current inventory's slot 10 to diamond chestplate of protection 7, unbreaking 4                     set player's current inventory's slot 11 to diamond leggings of protection 7, unbreaking 4                     set player's current inventory's slot 12 to diamond boots of protection 7, unbreaking 4                     set player's current inventory's slot 13 to bow of power 5, punch 3, infinity 1                     set player's current inventory's slot 13 to arrow                     set player's current inventory's slot 13 to 8 of ender pearl                     #set player's current inventory's slot 2 to STONIARKA                 else:                     send "&8[&6MediaHc&8] &7Kit mozesz odebrac dopiero za: &4%{tytan.%player%}% &7minut!" to player             else:                 send "8[&6MediaHc&8] &7Nie posiadasz permisji!" to player                          if clicked slot is 30:             if player has permission "yt":                 if {yt.%player%} is 0:                     close player's inventory                     wait 1 tick                     open chest with 3 rows named "&8[&6MediaHc&8] &7Kit YT:" to player                     set player's current inventory's slot 0 to air                     set player's current inventory's slot 1 to air                     set player's current inventory's slot 2 to air                     set player's current inventory's slot 3 to air                     set player's current inventory's slot 4 to air                     set player's current inventory's slot 5 to air                     set player's current inventory's slot 6 to air                     set player's current inventory's slot 7 to air                     set player's current inventory's slot 8 to air                     set player's current inventory's slot 9 to air                     set player's current inventory's slot 10 to air                     set player's current inventory's slot 11 to air                     set player's current inventory's slot 12 to air                     set player's current inventory's slot 13 to air                     set player's current inventory's slot 14 to air                     set player's current inventory's slot 15 to air                     set player's current inventory's slot 16 to air                     set player's current inventory's slot 17 to air                     set player's current inventory's slot 18 to air                     set player's current inventory's slot 19 to air                     set player's current inventory's slot 20 to air                     set player's current inventory's slot 21 to air                     set player's current inventory's slot 22 to air                     set player's current inventory's slot 23 to air                     set player's current inventory's slot 24 to air                     set player's current inventory's slot 25 to air                     set player's current inventory's slot 26 to air                     if player has permission "admin":                                          else:                         set {yt.%player%} to {@yt}                     send "&8[&6MediaHc&8] &7Odebrales kit &cYT&7, milej gry :)" to player                                          # ITEMY #                                          set player's current inventory's slot 0 to diamond helmet of protection 4, unbreaking 3                     set player's current inventory's slot 1 to diamond chestplate of protection 4, unbreaking 3                     set player's current inventory's slot 2 to diamond leggings of protection 4, unbreaking 3                     set player's current inventory's slot 3 to diamond boots of protection 4, unbreaking 3                                                               set player's current inventory's slot 4 to diamond sword of sharpness 5, unbreaking 3                     set player's current inventory's slot 5 to diamond sword of unbreaking 3, knockback 2                     set player's current inventory's slot 6 to diamond pickaxe of efficiency 5, unbreaking 3                     set player's current inventory's slot 7 to 4 of 322:1                     set player's current inventory's slot 8 to 10 of 322                     set player's current inventory's slot 9 to diamond helmet of protection 4, unbreaking 3                     set player's current inventory's slot 10 to diamond chestplate of protection 4, unbreaking 3                     set player's current inventory's slot 11 to diamond leggings of protection 4, unbreaking 3                     set player's current inventory's slot 12 to diamond boots of protection 4, unbreaking 3                     #set player's current inventory's slot 2 to STONIARKA                 else:                     send "&8[&6MediaHc&8] &7Kit mozesz odebrac dopiero za: &b%{yt.%player%}% &7minut!" to player             else:                 send "8[&6MediaHc&8] &7Nie posiadasz permisji!" to player