options: tag: &aArena &6>> &a tag2: &6======================================================= command /reaktor [] [] [] [] []: aliases: /re trigger: if arg 1 is "przyzwij": add 1 to {ilosc.od.poczatku} set {numer} to arg 2 parsed as number set {typ} to arg 3 parsed as entity type set {ilosc} to arg 4 parsed as number set {czas} to arg 5 parsed as number loop 10000 times: if {czas} is more than 10: if {widomosciofali} is equal to 0: broadcast "{@tag}FALA POTWOROW ZA &4%{czas}%" play raw sound "random.pop" at player with pitch 1 volume 5 wait 5 second remove 5 from {czas} if {widomosciofali} is equal to 1: broadcast "{@tag}%{ilosc}% &6%{typ}% &4w reaktorze %{numer}% &aza&4 %{czas}% sekund. &bNagroda - &4%{iloscnagrody}% &4%{nagroda}%" play raw sound "random.pop" at player with pitch 1 volume 5 wait 5 second remove 5 from {czas} if {czas} is less or equal to 10: if {widomosciofali} is equal to 0: broadcast "{@tag} FALA POTWOROW ZA &4%{czas}%" wait 1 second remove 1 from {czas} if {widomosciofali} is equal to 1: broadcast "{@tag}&a%{ilosc}% &6%{typ}% &4w reaktorze %{numer}% &aza&4 %{czas}% sekund. &bNagroda - &4%{iloscnagrody}% &4%{nagroda}%" wait 1 second remove 1 from {czas} if {czas} is less or equal to 0: loop 3 times: broadcast "{@tag}&aZespawnowano&4 %{ilosc}% %{typ}% &a W reaktorze numer &4%{numer}%" broadcast "{@tag}&4&lUWAGA!" create fake explosion at {reaktor.%{numer}%} execute console command "time set 15000" loop {ilosc} times: spawn 1 of {typ} at {reaktor.%{numer}%} set name of last spawned entity to "&4PRZYWODCA PLAGI" equip last spawned entity with diamond sword wait 1 tick set {pierwszy} to 1 spawn 30000 of particle flame:1 offset by 0.5, 0.5, 0.5 at {reaktor.%{numer}%} clear {numer} clear {typ} clear {ilosc} clear {czas} stop if arg 1 is "zapisz": set {numer} to arg 2 parsed as number set {reaktor.%{numer}%} to player's location send "{@tag}ustawiles lokacje reaktora &4%{numer}%" if arg 1 is "losowo": if arg 2 is set: set {powtorzen} to arg 2 parsed as number if {powtorzen} is bigger than 10: loop 100 times: broadcast "" loop 5 times: broadcast "{@tag}&4&lZDENERWOWALISCIE HEROBRINE !!! STRZESZCIE SIE !!!" wait 1.5 second loop {powtorzen} times: set {numer} to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 set {typ} to zombie or skeleton or witch or creeper or slime or blaze or bat or wolf or spider or cavespider set {ilosc} to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 spawn {ilosc} of {typ} at {reaktor.%{numer}%} wait 1 tick create fake explosion at {reaktor.%{numer}%} broadcast "{@tag}Zespawnowano&4 %{ilosc}% %{typ}% &a W reaktorze numer &4%{numer}%" else: loop {powtorzen} times: set {numer} to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 or 17 or 18 or 19 or 20 set {typ} to zombie or skeleton or witch or creeper or slime or blaze or bat or wolf or spider or cavespider set {ilosc} to 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 or 10 or 11 or 12 or 13 or 14 or 15 spawn {ilosc} of {typ} at {reaktor.%{numer}%} wait 1 tick create fake explosion at {reaktor.%{numer}%} broadcast "{@tag}Zespawnowano&4 %{ilosc}% %{typ}% &a W reaktorze numer &4%{numer}%" if arg 1 is "nagroda": set {iloscnagrody} to arg 2 parsed as number set {nagroda} to arg 3 parsed as item send "{@tag}&4Ustawiles nagrode za runde - &a %{iloscnagrody}% %{nagroda}%" if arg 1 is "skarbiec": if arg 2 is "test": drop 1 dirt named "test" at {skarbiec} else: set {skarbiec} to player's location send "{@tag}&a ustawiono skarbiec" if arg 1 is "wyczysc": set {potwierdzenie} to 1 send "{@tag}&4Aby potwierdzic to co robisz napisz /re potwierdz" wait 20 second set {potwierdzenie} to 0 send "{@tag}&4Wyszczyszczenie zostalo przedawnione" if arg 1 is "potwierdz": if {potwierdzenie} is 1: send "&aArena &6>> &4Pomyslnie zresetowales arene" execute player command "rg select reaktory" execute player command "//replace 5:2 0" execute player command "//replace 57 0" execute player command "//replace cobblestone 0" execute player command "//replace wool 0" execute player command "//replace chest 0" execute player command "//replace door 0" execute player command "//replace 17:2 0" execute player command "//replace torch 0" execute player command "rg select dirt" execute player command "//set 2" execute player command "rg select powietrze" execute player command "//set 0" execute player command "mobkill all" set {potwierdzenie} to 0 else: send "{@tag}&4To nie ma sensu" if arg 1 is "menu": open chest with 1 row named "&4MENU" to player wait 2 tick format slot 0 of player with 1 of fire named "&aIlosc przywodcow" with lore "&4%{ilosc.reaktor}%" to be unstealable format slot 1 of player with 1 of diamond named "&aNagroda" with lore "&aItem - &4%{nagroda}%||&aIlosc - &4%{iloscnagrody}%" to be unstealable format slot 2 of player with 1 of golden ingot named "&aSkarbiec" with lore "&aPrzycisnij by ustawic||&aW twoim miejscu" to run "reaktor skarbiec" format slot 7 of player with 1 of redstone named "&4aUstawienia" with lore "&aNieszczesliwe wypadki - %{Wypadki}%||&aWidomosci o fali - %{widomosciofali}%" to be unstealable if arg 1 is "wiadomosci": if arg 2 is "on": set {widomosciofali} to 1 send "{@tag}Wlaczyles wiadomosci" else: set {widomosciofali} to 0 send "{@tag}Wylaczyles wiadomosci" if arg 1 is "pierwszy": execute player command "gamerule doMobSpawning false" if arg 1 is "pomoc" or "help": loop 3 times: send "" send "{@tag2}" send "&9/re help &4- &aPokazuje podstawowe komendy" send "&9/re pierwszy &4- &aZmienia niektore zmienne, aby tryb dzialal" send "&9/re zapisz &6[liczba&6] &4- &aZapisuje pozycje reaktora podanego w argumencie" send "&9/re skarbiec &4- &aZapisuje pozycje skarbca, w miejscu gracza" send "&9/re skarbiec test &4- &aSprawdza czy miejsce skarbca zostalo prawidlowo zapisane" send "&9/re przyzwij &6[Numer reaktora] [Typ moba] [Ilosc] [Czas w sekundach] &4- &aPrzyzywa fale potworow" send "&9/re nagroda &6[Ilosc] [Typ] &4- &aUstawia nagroda za BIERZACA runde" send "&9/re wiadomosci &6[on/off] &4- &aZmienia wiadomosci o kolejnej fali na szczegolowe badz nie" send "&9/re menu &4- &4Jest w trakcie tworzenia" send "&9/re wyczysc &4- &4Wkrotce" send "&9/re start &4- &4Wkrotce" send "&9/re losowo &4[Ilosc] &4- &4Wkrotce" send "&4PROSIMY NIE UZYWAC NIEGOTOWYCH KOMEND I NIE PRZYWOLYWAC KOLEJNEJ FALI, GDY JEDNA JUZ OCZEKUJE NA PRZYWOLANIE" loop 3 times: send "" every 5 second: loop all entities: if name of loop-entity is "&4PRZYWODCA PLAGI": add 1 to {ilosc.reaktor} wait 1 tick if {ilosc.reaktor} is not set: if {pierwszy} is equal to 1: if {nagroda} is set: if {iloscnagrody} is set: loop 3 times: broadcast "&aArena &6>> &aOtrzymales %{iloscnagrody}% %{nagroda}% !!! Mozesz ja odebrac w skarbcu !!!" drop {iloscnagrody} of {nagroda} at {skarbiec} clear {iloscnagrody} clear {nagroda} broadcast "&aArena &6>> &aILOSC PRZYWODCOW - &4&l0" execute console command "time set 1000" execute console command "mobkill zombie nazwa_swiata" execute console command "mobkill skeleton nazwa_swiata" execute console command "mobkill witch nazwa_swiata" execute console command "mobkill creeper nazwa_swiata" execute console command "mobkill slime nazwa_swiata" execute console command "mobkill blaze nazwa_swiata" execute console command "mobkill bat nazwa_swiata" execute console command "mobkill wolf nazwa_swiata" execute console command "mobkill spider nazwa_swiata" execute console command "mobkill cavespider nazwa_swiata" execute console command "mobkill enderman nazwa_swiata" set {pierwszy} to 0 set {sprawdzenie} to 0 else: execute console command "time set 1000" execute console command "mobkill zombie nazwa_swiata" execute console command "mobkill skeleton nazwa_swiata" execute console command "mobkill witch nazwa_swiata" execute console command "mobkill creeper nazwa_swiata" execute console command "mobkill slime nazwa_swiata" execute console command "mobkill blaze nazwa_swiata" execute console command "mobkill bat nazwa_swiata" execute console command "mobkill wolf nazwa_swiata" execute console command "mobkill spider nazwa_swiata" execute console command "mobkill cavespider nazwa_swiata" execute console command "mobkill enderman nazwa_swiata" if {ilosc.reaktor} is set: broadcast "&aArena &6>> &aILOSC PRZYWODCOW - &4&l%{ilosc.reaktor}%" execute console command "time set 15000" wait 1 tick clear {ilosc.reaktor} every 1 second: loop all entities: if name of loop-entity is "&4PRZYWODCA PLAGI": spawn 15 of particle cloud:0.1 offset by 0.5, 0.5, 0.5 at loop-entity