variables: {antylogout.%player%} = 0 on damage of player: if victim is player: set {antylogout.%victim%} to 1 set {antylogout.%attacker%} to 1 send "&6[&4AntyLogOut&6] &aJestes w trakcie walki, nie wychodz z gry!" wait 20 seconds set {antylogout.%victim%} to 0 set {antylogout.%attacker%} to 0 send "&6[&4AntyLogOut&6] &aNie jestes juz w walce" on quit: if {antylogout.%player%} is 1: kill player command /kit []: trigger: if arg is "pvp": send "&8>>> &6Wybrales Kit PVP" give 1 iron sword named "&aPVP" to player give 1 iron helmet named "&aPVP" to player give 1 iron chestplate named "&aPVP" to player give 1 iron leggings named "&aPVP" to player give 1 iron boots named "&aPVP" to player give 1 golden apple named "&aZlote Jablko" to player give 3 soup named "&aZupa" to player if arg is "druid": send "&8>>> &6Wybrales Kit Druid" give 1 iron sword of sharpness 1 to player give 1 iron helmet to player give 1 iron chestplate to player give 1 iron leggings to player give 1 iron boots to player give 20 soup named "&aZupa" to player apply slowness 1 to the player for 9999 seconds if arg is "vip": if player has permission "use.vip": send "&8>>> &6Wybrales Kit VIP" give 1 iron sword of unbreaking 1 and sharpness 1 named "&eVIP" to player give 1 iron helmet of unbreaking 1 and sharpness 1 named "&eVIP" to player give 1 iron chestplate of unbreaking 1 and sharpness 1 named "&eVIP" to player give 1 iron leggings of unbreaking 1 and sharpness 1 named "&eVIP" to player give 1 iron boots of unbreaking 1 and sharpness 1 named "&eVIP" to player give 3 golden apple named "&aZlote Jablko" to player give 6 soup named "&aZupa" to player on consume: if name of player's tool is "&aZupa": apply regeneration 2 to the player for 4 seconds if name of player's tool is "&aZlote Jablko": apply resistance 1 to the player for 5 seconds apply regeneration 2 to the player for 8 seconds apply speed 1 to the player for 5 seconds command /version: trigger: send "&6=======[&4Version&6]========" send "&4AntyLogOut - &aVersion &c0.0.1" send "&4PvPKits - &aVersion &c0.3" send "&6=======[&4Version&6]========" command /pvpchangelog: trigger: send "&6==========[&4ChangeLog&6]==========" send "&4PvPKits - &aVersion &c0.1" send "&a1. Publikacja skryptu" send "&4AntyLogOut - &aVersion &c0.0.1" send "&a1. Publikacja skryptu" send "&4PvPKits - &aVersion &c0.2" send "&a1. Dodano nowy kit Druid" send "&a2. Optymalizacja skryptu" send "&4PvPKits - &aVersion &c0.3" send "&a1. Dodano ustawianie spawnu!" send "&a2. Wszystkie komendy tego skryptu mozna sprawdzic pod komenda /pk info" send "&6==========[&4ChangeLog&6]==========" command /pk []: trigger: if arg is not set: if player doesn't have permission "pk.admin": send "&6=======[&3Info&6]=======" send "&a/pk spawn" send "&a/pk kits" send "&6=======[&3Info&6]=======" if player have permission "pk.admin": send "&6=======[&3Admin Commands&6=======" send "&a/pk setspawn" send "&6=======[&3Admin Commands&6=======" if arg is "kits": open chest with 1 rows named "&6&lPVPKITS" to player format slot 0 of player with 1 of white glass pane named "" to be unstealable format slot 1 of player with 1 of white glass pane named "" to be unstealable format slot 2 of player with 1 of white glass pane named "" to be unstealable format slot 3 of player with 1 of stone sword named "&aPVP" to close then run [make player execute "kit pvp"] format slot 4 of player with 1 of soup named "&aDruid" to close then run [make player execute "kit druid"] format slot 5 of player with 1 of iron sword named "&eVIP" to close then run [make player execute "kit vip"] format slot 6 of player with 1 of white glass pane named "" to be unstealable format slot 7 of player with 1 of white glass pane named "" to be unstealable format slot 8 of player with 1 of white glass pane named "" to be unstealable if arg is "setspawn": if player have permission "pk.admin": set {spawn} to location of the player send "&8>>> &6Pomyslnie ustawiono spawn!" else: send "&8>>> &6Brak uprawnien!" stop if arg is "spawn": set {miejsce} to location of the player send "&8>>> &6Za 5 sekund zostaniesz przeniesiony na spawn" wait 10 seconds if {miejsce} is player's location teleport player to {spawn} send "&8>>> &6Zostales przeniesiony na spawn!" else: send "&8>>> &6Ruszyles sie! Teleportacja zostala anulowana" cancel event