command /ustawboss: set {home.%player%} to location of player send "&b&lMiejsce teleportacji do Bossa zostalo utworzone!" command /boss: trigger: send "&b&lZostaniesz teleportowany do Bossa" wait 1 second teleport player to {home.%player%} send "&c&l%player% &b&lbedzie walczyl z bossem!" command /przepustka: permission: "iprosek.przepustka" trigger: give player paper named "&f(&bPrzepustka teleportacji do &6BOSSA&f)" on rightclick with paper: if name of player's tool is "&f(&bPrzepustka teleportacji do &6BOSSA&f)": remove 1 paper named "&f(&bPrzepustka teleportacji do &6BOSSA&f)" from player's inventory send "&c&lUzyles teleportacji do BOSSA powodzenia!" to player execute console command "/boss" variables: {RandomSet.%player%} = 1 command /skrzyniabossa: permission: Skrzynka.iprosek permission message: &cDostep do tej komendy ma tylko administrator! trigger: give a chest named "&a&lSkrzynia BOSSA" to the player on rightclick: player is holding a chest named "&a&lSkrzynia BOSSA": clear {RandomSet.%player%} remove 1 chest named "&a&lSkrzynia BOSSA" from player wait a tick set {RandomSet.%player%} to a random integer from 1 to 1 if {RandomSet.%player%} is 1: give a 399 of unbreaking 10 named "&4&lAmulet Wszechswiata" to the player on rightclick with nether star: if name of player's tool is "&c&lAmulet Wszechswiata": remove strength from player apply strength potion of tier 4 to player for 600 seconds send "&c&lAMULET DAL CI POTEZNA MOC , TERAZ JESTES NAJSILNIEJSZY" command /amulet: permission: "iprosek.amulet" trigger: give a 339 of unbreaking 10 named "&c&lAmulet Wszechswiata" command /spawnboss: trigger: spawn zombie at player set last spawned entity's name to "&c&lGlowny Boss" set last spawned entity's chestplate to iron chestplate set last spawned entity's tool to diamond sword set last spawned entity's max health to 1000 heal last spawned entity broadcast "&c[&6BOSS&c] &aBoss zostal utworzony , aby sie do niego dostac uzyj przepustki!" broadcast "&c[&6Boss&c] &aJego ilosc hp wynosi &c1000/1000"