command /spawn: trigger: player's world is "Spawn": teleport player to {spawn1} player's world is "ClassicPvP": teleport player to {spawn2} player's world is "PotionPvP": teleport player to {spawn3} player's world is "SoupPvP": teleport player to {spawn4} player's world is "1vs1": teleport player to {spawn5} player's world is "Parkour": teleport player to {spawn6} on respawn: set {world::%player%} to player's world player's world is "Spawn": teleport player to {spawn1} if player has permission "kit.gracz" or "kit.vip": give 1 iron sword to the player loop 36 times: item in loop-number of player is diamond helmet of protection 4, unbreaking 3 or diamond chestplate of protection 4, unbreaking 3 or diamond leggings of protection 4, unbreaking 3 or diamond boots of protection 4, unbreaking 3: equip item in loop-number of player stop player's world is "ClassicPvP": teleport player to {spawn2} if player has permission "kit.gracz" or "kit.vip": give 1 iron sword to the player loop 36 times: item in loop-number of player is diamond helmet of protection 4, unbreaking 3 or diamond chestplate of protection 4, unbreaking 3 or diamond leggings of protection 4, unbreaking 3 or diamond boots of protection 4, unbreaking 3: equip item in loop-number of player stop player's world is "PotionPvP": teleport player to {spawn3} if player has permission "kit.gracz" or "kit.vip": give 1 iron sword to the player loop 36 times: item in loop-number of player is diamond helmet of protection 4, unbreaking 3 or diamond chestplate of protection 4, unbreaking 3 or diamond leggings of protection 4, unbreaking 3 or diamond boots of protection 4, unbreaking 3: equip item in loop-number of player stop player's world is "SoupPvP": teleport player to {spawn4} if player has permission "kit.gracz" or "kit.vip": give 1 iron sword to the player loop 36 times: item in loop-number of player is diamond helmet of protection 4, unbreaking 3 or diamond chestplate of protection 4, unbreaking 3 or diamond leggings of protection 4, unbreaking 3 or diamond boots of protection 4, unbreaking 3: equip item in loop-number of player stop player's world is "1vs1": teleport player to {spawn5} if player has permission "kit.gracz" or "kit.vip": give 1 iron sword to the player stop player's world is "Parkour": teleport player to {spawn6} if player has permission "kit.gracz": give 1 iron sword to the player stop on teleport: wait 3 ticks player's world is not {world::%player%}: set {world::%player%} to player's world clear player's inventory player doesn't have permission "kit.vip": make player execute command "/kit gracz" give 1 iron sword to the player stop make player execute command "/kit vip" give 1 iron sword to the player command /setspawn: trigger: player's world is "Spawn": set {spawn1} to location of player send " &a▬ &eUstawiles spawna!" player's world is "ClassicPvP": set {spawn2} to location of player send " &a▬ &eUstawiles spawna!" player's world is "PotionPvP": set {spawn3} to location of player send " &a▬ &eUstawiles spawna!" player's world is "SoupPvP": set {spawn4} to location of player send " &a▬ &eUstawiles spawna!" player's world is "1vs1": set {spawn5} to location of player send " &a▬ &eUstawiles spawna!" player's world is "Parkour": set {spawn6} to location of player send " &a▬ &eUstawiles spawna!"