command /boss []: permission: boss.cmd trigger: set {_loc} to location of player loop blocks under {_loc}: if loop-block is not water or lava or air: create an explosion of force 4 at {_loc} spawn a Giant at {_loc} set max health of last spawned entity to 3000 heal last spawned entity set name of last spawned entity to "&6&lBOSS &8[&f%last spawned entity's health%/%max health of last spawned entity% HP&8]" set helmet of last spawned entity to diamond helmet of protection 4 and unbreaking 3 set chestplate of last spawned entity to diamond chestplate of protection 4 and unbreaking 3 set leggings of last spawned entity to diamond leggings of protection 4 and unbreaking 3 set boots of last spawned entity to diamond boots of protection 4 and unbreaking 3 set tool of last spawned entity to diamond sword of sharpness 6 and fire aspect 2 and unbreaking 3 and looting 3 send players title "&6&lBOSS" with subtitle "&fAdministrator &c%player% &fprzywolal &cBOSSA&f!" wait 2 second send players title "&6&lBOSS" with subtitle "&fZapraszamy na &c/warp boss&f!" wait 2 second send players title "&6&lBOSS" with subtitle "&fZa zabicie bossa = voucher na &cskrzydla na 3 dni&f!" exit loop stop on damage: if victim is a Giant: if name of victim contains "BOSS": set name of victim to "&6&lBOSS &8[&f%victim's health%/%victim's max health% HP&8]" on death: if victim is a Giant: if name of victim contains "BOSS": chance of 100%: add 1 paper named "&6&lVoucher na skrzydla &8(&c3 dni&8)" with lore "&aNacisnij, aby otrzymac skrzydla na 3 dni!" to attacker's inventory send players title "&6&lBOSS" with subtitle "&c%attacker% &fzabil BOSSA!"