Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {boss.spawn} = 0
- {boss.ilosc} = 1
- options:
- czas: 15 #po ilu minutach boss automatycznie ginie
- every {@czas} real minutes:
- if {boss.ilosc} is 0:
- execute console command "killall monster"
- broadcast "&cMinelo 15 minut, a nikt nie zabil bossa!"
- broadcast "&c&4&lBOSS &czostal usuniety z mapy!"
- set {boss.ilosc} to 1
- command /boss [<text>]:
- trigger:
- if player has permissions "kupeczka.jest.noob":
- if player is op:
- if arg 1 is not set:
- send "&9&m------&8&8&m-&8}&8&m------&8> &4&lBOSS &8<&8&m------&8{&8&m-&9&m------"
- send " "
- send "&a/boss dark &7- spawnuje najsilniejszego boss'a ciemnosci!"
- send "&a/boss event &7- spawnuje bossa przeznaczonego na eventy!"
- send "&a/boss pigzombie &7- spawnuje bossa netheru - plomyka!"
- send "&a/boss easy &7- spawnuje latwego do zabicia bossa!"
- send "&a/boss zestaw &7- &cONLY ADMINS"
- else:
- send "&cBana chcesz?"
- else:
- send "&cBana chcesz?"
- if player has permissions "boss.easy":
- if player is op:
- if arg 1 is "easy":
- if {boss.ilosc} is 1:
- set {boss.ilosc} to 0
- set {boss.spawn} to location of player
- spawn zombie at the player
- set name of spawned entity to "&4&lPoziom: &a&lEASY"
- equip the spawned entity with all leather armour of protection 1
- set the spawned entity's max health to 10
- set tool of spawned entity to wooden sword of fire aspect 1
- heal the spawned entity
- apply fire resistance 9 to spawned entity for 1 days
- broadcast "&4&lBOSS &8» &7Narodzilem sie na kordynatach: &6%{boss.spawn}%"
- broadcast "&4&lBOSS &8» &7Nikt nie zdola mnie pokonac!"
- else:
- send "&cObecnie zyje juz jeden boss na kordynatach %{boss.spawn}%"
- else:
- send "&cBana chcesz?"
- else:
- send "&cBana chcesz?"
- if player has permissions "boss.medium":
- if player is op:
- if arg 1 is "medium":
- if {boss.ilosc} is 1:
- set {boss.ilosc} to 0
- set {boss.spawn} to location of player
- spawn skeleton at the player
- set name of spawned entity to "&4&lPoziom: &6&lMedium"
- equip the spawned entity with all chainmail armour of thorns 3 and protection 3
- set the spawned entity's max health to 40
- set tool of spawned entity to iron sword of sharpness 2 and fire aspect 1
- heal the spawned entity
- apply fire resistance 9 to spawned entity for 1 days
- apply haste 1 to spawned entity for 1 days
- broadcast "&4&lBOSS &8» &7Narodzilem sie na kordynatach: &6%{boss.spawn}%"
- broadcast "&4&lBOSS &8» &7Nikt nie zdola mnie pokonac!"
- else:
- send "&cObecnie zyje juz jeden boss na kordynatach %{boss.spawn}%"
- else:
- send "&cBana chcesz?"
- else:
- send "&cBana chcesz?"
- if player has permissions "kupeczka.mardek3.zrobil.bossa.xd":
- if player is op:
- if arg 1 is "event":
- if {boss.ilosc} is 1:
- set {boss.ilosc} to 0
- set {boss.spawn} to location of player
- spawn zombie at the player
- set name of last spawned entity to "&4&lBOSS - EVENT"
- equip the last spawned entity with all diamond armour of protection 4
- set the last spawned entity's max health to 120
- set tool of last spawned entity to diamond sword of sharpness 5 and fire aspect 2
- heal the last spawned entity
- apply speed to the last spawned entity for 999999 seconds
- apply fire resistance 9 to the last spawned entity for 99999 seconds
- broadcast "&4&lBOSS &8» &7Narodzilem sie na kordynatach: &6%{boss.spawn}%"
- broadcast "&4&lBOSS &8» &7Zabij mnie, a spotkaja cie niesamowite nagrody!"
- send "&aPamietaj, aby bossa ogrodzic by nie uciekl za daleko!"
- else:
- send "&cObecnie zyje juz jeden boss na kordynatach %{boss.spawn}%"
- else:
- send "&cBana chcesz?"
- else:
- send "&cBana chcesz?"
- if player has permissions "spawnmob.skieleton.mroczny.boss":
- if player is op:
- if arg 1 is "dark":
- if {boss.ilosc} is 1:
- set {boss.ilosc} to 0
- set {boss.spawn} to location of player
- spawn skeleton at the player
- set name of last spawned entity to "&4&lBOSS - DARK"
- set chestplate of last spawned entity to diamond chestplate of protection 4 and thorns 3
- set leggings of last spawned entity to diamond leggings of protection 4 and thorns 3
- set boots of last spawned entity to diamond boots of protection 4 and thorns 3
- set the last spawned entity's max health to 160
- set tool of last spawned entity to iron sword of sharpness 5 and fire aspect 2
- heal the last spawned entity
- apply fire resistance 9 to the last spawned entity for 99999 seconds
- apply speed to the last spawned entity for 99999 seconds
- apply haste to the last spawned entity for 9999 seconds
- broadcast "&4&lBOSS &8» &7Narodzilem sie na kordynatach: &6%{boss.spawn}%"
- broadcast "&4&lBOSS &8» &7Zabij mnie, a spotka cie wieczna chwala i slawa!"
- send "&aPamietaj aby bossa ogrodzic by nie uciekl za daleko!"
- else:
- send "&cObecnie zyje juz jeden boss na kordynatach: &6%{boss.spawn}%"
- else:
- send "&cBana chcesz?"
- else:
- send "&cBana chcesz?"
- if player has permissions "lol":
- if player is op:
- if arg 1 is "unbug":
- if {boss.ilosc} is 0:
- set {boss.ilosc} to 1
- send "&aOdbugowales Skrypt &4&lBOSS"
- else:
- send "&cSkrypt nie jest zbugowany!"
- if player has permissions "kupeczka.nie.dostaje.xd":
- if player is op:
- if arg 1 is "zestaw":
- add 1 diamond sword of sharpness 5 and fire aspect 2 named "&e&lWojowniczy miecz" with lore "&5&oWlasnosc: &6%player%" to player's inventory
- add 1 diamond helmet of protection 4 named "&e&lWojowniczy helm" with lore "&5&oWlasnosc: &6%player%" to player's inventory
- add 1 diamond leggings of protection 4 named "&e&lWojownicze spodnie" with lore "&5&oWlasnosc: &6%player%" to player's inventory
- add 1 diamond chestplate of protection 4 named "&e&lWojownicza klata" with lore "&5&oWlasnosc: &6%player%" to player's inventory
- add 1 diamond boots of protection 4 named "&e&lWojownicze buty" with lore "&5&oWlasnosc: &6%player%" to player's inventory
- add 32 322:1 named "&e&lWojownicze Jablka" with lore "&5&oWlasnosc: &6%player%" to player's inventory
- send "&4&lZAKAZ ROZDAWANIA TYCH ITEMOW GRACZOM!!!"
- else:
- send "&cBana chcesz?"
- else:
- send "&cBana chcesz?"
- if player has permissions "kupeczka.noobek.xd.kaktus.op":
- if player is op:
- if arg 1 is "pigzombie":
- if {boss.ilosc} is 1:
- set {boss.ilosc} to 0
- set {boss.spawn} to location of player
- spawn zombie at the player
- set name of spawned entity to "&4&lKING OF ZOMBIE"
- set the spawned entity's max health to 150
- set helmet of spawned entity to gold helmet of protection 4 and unbreaking 3 and thorns 3
- set chestplate of spawned entity to diamond chestplate of protection 4 and unbreaking 3 and thorns 3
- set leggings of spawned entity to gold leggings of protection 4 and unbreaking 3 and thorns 3
- set boots of spawned entity to gold boots of protection 4 and unbreaking 3 and thorns 3
- set tool of spawned entity to iron sword of sharpness 5 and fire aspect 2 and smite 5 and looting 2 and unbreaking 1
- heal the spawned entity
- apply fire resistance 9 to the spawned entity for 9999 seconds
- apply speed to the spawned entity for 9999 seconds
- apply jump boost 3 to the spawned entity for 9999 seconds
- broadcast "&4&lKING OF ZOMBIE &8» &7Narodzilem sie na kordynatach: &6%{boss.spawn}%"
- wait 7 real seconds
- broadcast "&4&lKING OF ZOMBIE &8» &7Nic mnie nie powstrzyma przed unicestwieniem tej planety!"
- wait 7 real seconds
- loop all players:
- send "&e&lWOJOWNICY&7, waszym zadaniem jest zabicie tego drania, jezeli wam sie nie uda, wszyscy MOZEMY zginac. Powodzenia!"
- apply speed to the loop-player for 999 seconds
- else:
- send "&cObecnie zyje juz jakis boss na kordynatach: &6%{boss.spawn}%"
- else:
- send "&cBana chcesz?"
- else:
- send "&cBana chcesz?"
- on damage:
- if attacker is player:
- if name of victim is "&4&lPoziom: &a&lEasy":
- push the attacker backwards at speed 0.5
- damage attacker by 0.5 heart
- on damage:
- if attacker is player:
- if name of victim is "&4&lPoziom: &6&lMedium":
- push the attacker backwards at speed 0.7
- damage attacker by 0.5 heart
- apply poison 2 to the attacker for 2 seconds
- on damage:
- if name of attacker is "&4&lPoziom: &6&lMedium":
- if victim is player:
- push the victim forwards at speed 0.2
- chance of 60%:
- damage victim by 0.75 heart
- chance of 40%:
- shoot an arrow from the victim
- damage victim by 1 heart
- chance of 20%:
- send "&4&lBOSS &8» &7Uzyl swojej specialnej mocy &cUsuwacz&7!" to victim
- push the victim backwards at speed 1.2
- apply blindness 2 to the victim for 15 seconds
- apply poison 2 to the victim for 6 seconds
- send "&cKrwawisz..." to victim
- loop 3 times:
- damage victim by 0.5 heart
- send "&aKrwawienie ustalo" to victim
- on death of skeleton:
- if name of victim is "&4&lPoziom: &6&lMedium":
- set {boss.spawn} to 0
- set {boss.ilosc} to 1
- clear drops
- broadcast "&4&lBOSS &8» &7Nieee... zostalem zabity przez smiertelnika %attacker%!"
- wait 2 real seconds
- broadcast "&4&lBOSS &8» &7Ale pamietajcie, ja jeszcze tu wroce, miejscie sie na baczonosci!!"
- drop 1 chest of fortune 3 named "&cMagic Chest" with lore "&8Poziom: &63" at victim
- drop 1 chest of fortune 4 named "&cMagic Chest" with lore "&8Poziom: &e4" at victim
- on death of zombie:
- if name of victim is "&4&lPoziom: &a&lEASY":
- set {boss.spawn} to 0
- set {boss.ilosc} to 1
- clear drops
- broadcast "&4&lBOSS &8» &7Nieee... zostalem zabity przez smiertelnika %attacker%!"
- wait 2 real seconds
- broadcast "&4&lBOSS &8» &7Ale pamietajcie, ja jeszcze tu wroce!!"
- drop 2 chest of fortune 3 named "&cMagic Chest" with lore "&8Poziom: &63" at victim
- on damage:
- if attacker is player:
- if name of victim is "&4&lKING OF ZOMBIE":
- shoot an arrow from the attacker
- damage attacker by 0.25 heart
- wait 4 tick
- push the attacker backwards at speed 0.3
- chance of 20%:
- loop 1 times:
- spawn zombie at the attacker
- set name of spawned entity to "&4&lGuard King"
- set the spawned entity's max health to 15
- set tool of spawned entity to iron sword of sharpness 2
- set helmet of spawned entity to iron helmet of thorns 2 and protection 2
- set chestplate of spawned entity to iron chestplate of thorns 2 and protection 2
- heal the spawned entity
- apply speed to the spawned entity for 9999 seconds
- apply regeneration 2 to the spawned entity for 9999 seconds
- apply fire resistance 9 to the spawned entity for 9999 seconds
- on damage:
- if name of attacker is "&4&lKING OF ZOMBIE":
- if victim is player:
- damage victim by 1.5 heart
- apply slowness to the attacker for 4 seconds
- apply wither to the attacker for 5 seconds
- on death of zombie:
- if name of victim is "&4&lKING OF ZOMBIE":
- set {boss.spawn} to 0
- set {boss.ilosc} to 1
- drop 1 chest of fortune 6 named "&cMagic Chest" with lore "&8Poziom: &a6" at victim
- broadcast "&4&lKING OF ZOMBIE &8» &7Graaaaahhhhhh! Nie tylko nie to!"
- wait 7 real seconds
- broadcast "&4&lKING OF ZOMBIE &8» &7Jak moglem dac sie tak zalatwic, Jeszcze ja tu wróce!"
- wait 7 real seconds
- broadcast "&4&lKING OF ZOMBIE &8» &7MIEJCIE SIE NA BACZNOSCI!!!"
- wait 7 real seconds
- broadcast "&a&lGENERAL &8» &eGratuluje wam chlopcy! Jestescie nie samowici, pamietajcie ze nie ominie was nagroda!"
- loop all players:
- add 1 book named "&eGratulacje" with lore "&aOd Generala za pokonanie &4&lKING OF ZOMBIE" to loop-player's inventory
- add 3 diamond named "&eGratulacje" to loop-player's inventory
- on damage:
- if attacker is player:
- if name of victim is "&4&lBOSS - EVENT":
- damage attacker by 0.5 heart
- chance of 60%:
- push the attacker upwards at speed 0.5
- push the attacker forwards at speed 0.4
- push the attacker backwards at speed 1.0
- chance of 20%:
- apply blindness 2 to the attacker for 3 seconds
- chance of 30%:
- poison the attacker for 120 seconds
- chance of 10%:
- apply confusion 255 to the attacker for 10 seconds
- chance of 10%:
- loop 1 times:
- spawn zombie at the attacker
- set the spawned entity's max health to 7
- set name of spawned entity to "&4&lGuard BOSS"
- set tool of spawned entity to gold sword of knockback 2 and fire aspect 2 and smite 5
- set chestplate of spawned entity to chainmail chestplate of thorns 3
- set helmet of spawned entity to chainmail helmet of thorns 3
- heal the spawned entity
- apply speed to the spawned entity for 999 seconds
- apply fire resistance 9 to the spawned entity for 9999 seconds
- send "&4&lBOSS &8» Uzyl swojej specjalnej mocy &cPogromca" to attacker
- on death of zombie:
- if name of victim is "&4&lGuard BOSS":
- clear drops
- on damage:
- if attacker is player:
- if name of victim is "&4&lGuard BOSS":
- damage attacker by 0.25 heart
- push the attacker backwards at speed 0.4
- apply hunger 1 to the attacker for 2 seconds
- on damage:
- if name of attacker is "&4&lGuard BOSS":
- if victim is player:
- damage victim by 0.5 heart
- on death of skeleton:
- if name of victim is "&4&lWYSLANNIK":
- clear drops
- on damage:
- if name of attacker is "&4&lBOSS - DARK":
- if victim is player:
- damage victim by 0.25 heart
- chance of 60%:
- push the victim upwards at speed 0.5
- push the victim forwards at speed 0.4
- push the victim backwards at speed 1.0
- apply slowness 2 to the victim for 2 seconds
- chance of 40%:
- shoot an arrow from the victim
- damage victim by 2 heart
- chance of 5%:
- send "&c&lBOSS - DARK &8» &7Uzyl swojej specjalnej mocy!" to victim
- damage victim by 2 heart
- apply blindness 2 to the victim for 2 seconds
- apply slowness 2 to the victim for 4 seconds
- apply poison 2 to the victim for 2 seconds
- push the victim upwards at speed 0.7
- push the victim backwards at speed 1.3
- on damage:
- if attacker is player:
- if name of victim is "&4&lBOSS - DARK":
- push the attacker backwards at speed 0.4
- apply poison to the attacker for 2 seconds
- apply blindness to the attacker for 1 seconds
- on death of skeleton:
- if name of victim is "&4&lBOSS - DARK":
- set {boss.spawn} to 0
- set {boss.ilosc} to 1
- drop 1 chest of fortune 6 named "&cMagic Chest" with lore "&8Poziom: &a6" at victim
- broadcast "&4&lBOSS DARK &8» &7Nie to nie mozliwe.... zostalem pokonany przez %attacker%!"
- wait 2 real seconds
- broadcast "&4&lBOSS DARK &8» &7Zniszcze twoj swiat!"
- wait 2 real seconds
- broadcast "&4&lBOSS DARK &8» &7Niech ta ziemia posmakuje ludzkiej krwi!!"
- wait 2 real seconds
- broadcast "&4&lBOSS DARK &8» &7Uzyl swojej specjalnej mocy &cZlodziej Dusz&7!"
- wait 2 real seconds
- loop all players:
- spawn skeleton at the loop-player
- set name of spawned entity to "&4&lWYSLANNIK"
- set tool of spawned entity to stick of fire aspect 2
- set the spawned entity's max health to 20
- set chestplate of spawned entity to gold chestplate of protection 2
- set leggings of spawned entity to gold leggings of protection 2
- set boots of spawned entity to gold boots of protection 2
- heal the spawned entity
- damage loop-player by 1 heart
- apply poison to the loop-player for 10 seconds
- broadcast "&4&lBOSS DARK &8» &7Moi poddani, zniszcze kazdego wojownika ktory stanie wam na drodze!"
- on death of zombie:
- if name of victim is "&4&lBOSS - EVENT":
- set {boss.spawn} to 0
- set {boss.ilosc} to 1
- broadcast "&4&lBOSS &8» &7Nieeee... zostalem zabity przez smiertelnika - %attacker%!"
- broadcast "&4&lBOSS &8» &7Oto twoja nagroda"
- drop 32 diamond named "&c&lZabicie &4&lBOSS - EVENT" at victim
- drop 1 335 named "&fMleko" at victim
Advertisement
Add Comment
Please, Sign In to add comment