on damage of player: wait 1 tick if victim's health is 0: set victim's health to 10 teleport victim to {knock} if player has permission "vip.knock": set action bar of player to "&7[&eAreny&7] &cDolaczyles do areny &aKnock! &cJako &6&lVIP" broadcast "&cGracz &f%player% &cDolaczyl do areny knock" execute console command "/warp knock %player%" execute console command "/clear %player%" remove resistance from player remove speed from player remove strength from player remove absorption from player remove fire resistance from player remove regeneration from player add diamond helmet of protection 4 and unbreaking 3 to the player's helmet add diamond chestplate of protection 4 and unbreaking 3 to the player's chestplate add diamond leggings of protection 4 and unbreaking 3 to the player's leggings add diamond boots of protection 4 and unbreaking 3 to the player's boots add diamond sword of sharpness 5 named "&eSharpness V" to player add diamond sword of knockback 2 named "&eKnockback II" to player add 3 golden apple:1 to player add 8 golden apple to player add 64 cooked porkchop to player add 1 water bucket to player add 1 chest named "&8» &eItemy Rangi Premium &8«" to player add 1 slime block to player add 3 ender pearl to player add 64 mossy cobblestone to player add 64 mossy cobblestone to player add 64 mossy cobblestone to player else: set action bar of player to "&7[&eAreny&7] &cDolaczyles do areny &aKnock! &cJako &7&lGRACZ" execute console command "/warp knock %player%" execute console command "/clear %player%" remove resistance from player remove speed from player remove strength from player remove absorption from player remove fire resistance from player remove regeneration from player add diamond helmet of protection 4 to the player's helmet add diamond chestplate of protection 4 to the player's chestplate add diamond leggings of protection 4 to the player's leggings add diamond boots of protection 4 to the player's boots add diamond sword of sharpness 5 named "&eSharpness V" to player add diamond sword of knockback 2 named "&eKnockback II" to player add 2 golden apple:1 to player add 5 golden apple to player add 64 cooked porkchop to player add 1 water bucket to player add 64 cobblestone to player add 1 ender pearl to player add 1 165 to player add 64 cobblestone to player add 64 cobblestone to player add 64 cobblestone to player