on join: clear player's inventory apply saturation to the player for 999999999 seconds give 1 chest named "&eZestawy" to player on death of player: clear drops force respawn player options: Prefix: &8[&4KitPvP&8] on respawn: clear player's inventory apply saturation to the player for 999999999 seconds give 1 chest named "&eZestawy" to player command /kitpvp []: aliases: kp, kitbattle, kb trigger: if arg is "help": send "{@Prefix} &aDostepne komendy:" send "{@Prefix} &b/kitpvp help" send "{@Prefix} &b/kitpvp soup" stop if arg is "soup": open virtual chest with 3 rows named "&cDarmowe zupy" to player wait 0.1 tick loop 27 times: make gui slot loop-value of player with soup named "&aZupa Regenerujaca &7(PPM)" to close then run function Soup(player) stop else: send "{@Prefix} &aWpisz /kitpvp help" stop on place: if event-block is chest named "&eZestawy": cancel event on rightclick: if name of player's tool is "&eZestawy": open virtual chest with 3 rows named "&eZestawy" to player wait 0.1 tick format gui slot 10 of player with iron sword named "&aTank" with lore "&7Stan sie czolgiem!||&7Posiadasz bardzo mocne uzbrojenie,||&7ale jestes bardzo wolny!" to close then run function Tank(player) with left click format gui slot 10 of player with iron sword named "&aTank" with lore "&7Stan sie czolgiem!||&7Posiadasz bardzo mocne uzbrojenie,||&7ale jestes bardzo wolny!" to close then run function TankInventory(player) with right click format gui slot 11 of player with rotten flesh named "&aZombie" with lore "&7Posiadasz x2 wiecej zycia!" to close then run function Zombie(player) with left click format gui slot 11 of player with rotten flesh named "&aZombie" with lore "&7Posiadasz x2 wiecej zycia!" to close then run function ZombieInventory(player) with right click format gui slot 12 of player with stone pickaxe named "&aGornik" with lore "&7Jako gornik posiadasz mocny kilof" to close then run function Gornik(player) with left click format gui slot 12 of player with stone pickaxe named "&aGornik" with lore "&7Jako gornik posiadasz mocny kilof" to close then run function GornikInventory(player) with right click format gui slot 13 of player with bow named "&aStrzelec" with lore "&7Jestes jednym z lepszych strzelcow w okolicy||&7Posiadasz bardzo mocny luk, lecz slabe uzbrojenie" to close then run function Strzelec(player) with left click format gui slot 13 of player with bow named "&aStrzelec" with lore "&7Jestes jednym z lepszych strzelcow w okolicy||&7Posiadasz bardzo mocny luk, lecz slabe uzbrojenie" to close then run function StrzelecInventory(player) with right click format gui slot 14 of player with bottle of enchanting named "&aCzarodziej" with lore "&7Jestes czarodziejem, rzucasz zaklecia na swe ofiary!" to close then run function Czarodziej(player) with left click format gui slot 14 of player with bottle of enchanting named "&aCzarodziej" with lore "&7Jestes czarodziejem, rzucasz zaklecia na swe ofiary!" to close then run function CzarodziejInventory(player) with right click format gui slot 15 of player with iron axe named "&aViking" with lore "&7Posiadasz podstawowy zestaw Vikinga!" to close then run function Viking(player) with left click format gui slot 15 of player with iron axe named "&aViking" with lore "&7Posiadasz podstawowy zestaw Vikinga!" to close then run function VikingInventory(player) with right click format gui slot 16 of player with flint and steel named "&aPirotechnik" with lore "&7Jako Pirotechnik potrafisz podpalic przeciwnikow!" to close then run function Pirotechnik(player) with left click format gui slot 16 of player with flint and steel named "&aPirotechnik" with lore "&7Jako Pirotechnik potrafisz podpalic przeciwnikow!" to close then run function PirotechnikInventory(player) with right click if name of player's tool is "&aRzuc zaklecie": Zaklecie(player) cancel event if name of player's tool is "&aZupa Regenerujaca &7(PPM)": remove 1 soup from player's tool heal player by 4 hearts stop function Soup(p: player): give 36 soup named "&aZupa Regenerujaca &7(PPM)" to {_p} stop function Zaklecie(p: player): send "&aRzuciles zaklecie!" to {_p} loop all players within 5 meters of {_p}: remove slowness from loop-player apply slowness to the loop-player for 10 seconds function Tank(p: player): set slot 0 of {_p} to iron sword set helmet of {_p} to diamond helmet set chestplate of {_p} to diamond chestplate set leggings of {_p} to diamond leggings set boots of {_p} to diamond boots apply slowness to {_p} for 9999999 seconds function TankInventory(p: player): open virtual hopper named "&aTank Inventory" to {_p} format gui slot 0 of {_p} with iron sword to close format gui slot 1 of {_p} with diamond helmet to close format gui slot 2 of {_p} with diamond chestplate to close format gui slot 3 of {_p} with diamond leggings to close format gui slot 4 of {_p} with diamond boots to close function Zombie(p: player): set slot 0 of {_p} to bone of sharpness 3 set helmet of {_p} to leather helmet of unbreaking 3 and protection 1 set chestplate of {_p} to leather chestplate of unbreaking 3 and protection 1 set leggings of {_p} to leather leggings of unbreaking 3 and protection 1 set boots of {_p} to leather boots of unbreaking 3 and protection 1 apply health boost 5 to {_p} for 9999999 seconds function ZombieInventory(p: player): open virtual hopper named "&aZombie Inventory" to {_p} format gui slot 0 of {_p} with bone of sharpness 3 to close format gui slot 1 of {_p} with leather helmet of unbreaking 3 and protection 1 to close format gui slot 2 of {_p} with leather chestplate of unbreaking 3 and protection 1 to close format gui slot 3 of {_p} with leather leggings of unbreaking 3 and protection 1 to close format gui slot 4 of {_p} with leather boots of unbreaking 3 and protection 1 to close function Gornik(p: player): set slot 0 of {_p} to stone pickaxe of sharpness 2 and unbreaking 2 set helmet of {_p} to diamond helmet of unbreaking 2 and protection 1 set chestplate of {_p} to leather chestplate of unbreaking 5 set leggings of {_p} to golden leggings of unbreaking 5 and protection 1 set boots of {_p} to leather boots of unbreaking 3 and protection 1 function GornikInventory(p: player): open virtual hopper named "&aGornik Inventory" to {_p} format gui slot 0 of {_p} with stone pickaxe of sharpness 2 and unbreaking 2 to close format gui slot 1 of {_p} with diamond helmet of unbreaking 2 and protection 1 to close format gui slot 2 of {_p} with leather chestplate of unbreaking 5 to close format gui slot 3 of {_p} with golden leggings of unbreaking 5 and protection 1 to close format gui slot 4 of {_p} with leather boots of unbreaking 3 and protection 1 to close function Strzelec(p: player): set slot 0 of {_p} to bow of power 2 and unbreaking 3 and infinity 1 set slot 1 of {_p} to arrow set helmet of {_p} to leather helmet of unbreaking 2 and protection 1 set chestplate of {_p} to golden chestplate of unbreaking 5 set leggings of {_p} to leather leggings of unbreaking 2 and protection 1 set boots of {_p} to leather boots of unbreaking 2 function StrzelecInventory(p: player): open virtual hopper named "&aStrzelec Inventory" to {_p} format gui slot 0 of {_p} with bow of power 2 and unbreaking 3 and infinity 1 to close format gui slot 1 of {_p} with leather helmet of unbreaking 2 and protection 1 to close format gui slot 2 of {_p} with golden chestplate of unbreaking 5 to close format gui slot 3 of {_p} with leather leggings of unbreaking 2 and protection 1 to close format gui slot 4 of {_p} with leather boots of unbreaking 2 to close function Czarodziej(p: player): set slot 0 of {_p} to stone sword of unbreaking 2 set slot 1 of {_p} to emerald named "&aRzuc zaklecie" with lore "&7Rzuc zaklecie spowolnienia na wszystkich||&7wokol 5 metrow!" set helmet of {_p} to chain helmet of unbreaking 2 set chestplate of {_p} to golden chestplate of unbreaking 2 and protection 1 set leggings of {_p} to leather leggings of unbreaking 2 and protection 1 set boots of {_p} to golden boots of unbreaking 2 function CzarodziejInventory(p: player): open virtual hopper named "&aCzarodziej Inventory" to {_p} format gui slot 0 of {_p} with stone sword of unbreaking 2 to close format gui slot 1 of {_p} with chain helmet of unbreaking 2 to close format gui slot 2 of {_p} with golden chestplate of unbreaking 2 and protection 1 to close format gui slot 3 of {_p} with leather leggings of unbreaking 2 and protection 1 to close format gui slot 4 of {_p} with golden boots of unbreaking 2 to close function Viking(p: player): set slot 0 of {_p} to iron axe of sharpness 1 set helmet of {_p} to iron helmet of unbreaking 2 and protection 1 set chestplate of {_p} to leather chestplate of unbreaking 2 and protection 1 set leggings of {_p} to golden leggings of unbreaking 2 and protection 1 set boots of {_p} to golden boots of unbreaking 2 function VikingInventory(p: player): open virtual hopper named "&aViking Inventory" to {_p} format gui slot 0 of {_p} with iron axe of sharpness 1 to close format gui slot 1 of {_p} with iron helmet of unbreaking 2 and protection 1 to close format gui slot 2 of {_p} with leather chestplate of unbreaking 2 and protection 1 to close format gui slot 3 of {_p} with golden leggings of unbreaking 2 and protection 1 to close format gui slot 4 of {_p} with golden boots of unbreaking 2 to close function Pirotechnik(p: player): set slot 0 of {_p} to iron sword of fire aspect 1 set helmet of {_p} to iron helmet of unbreaking 2 and protection 2 set chestplate of {_p} to leather chestplate of unbreaking 5 set leggings of {_p} to iron leggings of unbreaking 2 and protection 2 set boots of {_p} to leather boots of unbreaking 5 function PirotechnikInventory(p: player): open virtual hopper named "&aPirotechnik Inventory" to {_p} format gui slot 0 of {_p} with iron sword of fire aspect 1 format gui slot 1 of {_p} with iron helmet of unbreaking 2 and protection 2 format gui slot 2 of {_p} with leather chestplate of unbreaking 5 format gui slot 3 of {_p} with iron leggings of unbreaking 2 and protection 2 format gui slot 4 of {_p} with leather boots of unbreaking 5