command /halloween: trigger: apply slowness 100 to the player for 3 seconds apply blindness 100 to the player for 3 seconds wait 1 seconds open chest with 1 rows named "&c&oHalloween" to player wait 3 ticks loop 9 times: wait 1 seconds format slot loop-number -1 of player with 1 of 160:1 named ">" to be unstealable format slot 3 of player with 1 of pumpkin named "&c&oDynia Halloween" with lore "&5&oSzansa na wypadniecie dyni to 35%% z kazdego moba o nazwie 'HALLOWEEN'" to be unstealable wait 1 seconds format slot 5 of player with 1 of skeleton head named "&f&lGlowa Szkieleta" with lore "&5&oTen przedmiot mozna zdobyć niszcząc wszystkie moby o nazwie 'HEADSZKIELET'" to be unstealable on break of pumpkin: if {blokadaduchow::%player%} is not set: add 1 to {duchyhalloween::%player%} send "&fZnalazles dynie halloween! &a%{duchyhalloween::%player%}%/5" if {duchyhalloween::%player%} is more than 4: set {blokadaduchow::%player%} to true send "&fOdnalazles wszystkie dynie Halloween!" add 3 pumpkin of unbreaking 10 named "&c&oHalloween" with lore "&5&oTen przedmiot mozna dostac od administracji!||&5&oPostaw to zobaczysz co sie stanie :)" to player set block at event-block to air wait 30 seconds set block at event-block to pumpkin on place of pumpkin: if name of player's tool is "&c&oHalloween": if lore of player's tool is "&5&oTen przedmiot mozna dostac od administracji!||&5&oPostaw to zobaczysz co sie stanie :)": cancel event remove 1 pumpkin named "&c&oHalloween" with lore "&5&oTen przedmiot mozna dostac od administracji!||&5&oPostaw to zobaczysz co sie stanie :)" from player chance of 50%: drop 1 pumpkin of unbreaking 10 named "&c&oHalloween" with lore "&5&oTen przedmiot mozna dostac od administracji!||&5&oPostaw to zobaczysz co sie stanie :)" at event-block stop chance of 30%: loop 5 times: spawn 1 zombie at event-block set the spawned zombie's display name to "&c&oHalloween" set the last spawned entity's max health to 50 heal last spawned entity set helmet of the spawned zombie to a pumpkin of protection 10 set tool of the spawned zombie to a diamond hoe of sharpness 3 apply invisibility to last spawned entity for 99999 seconds stop chance of 25%: drop 1 beacon at event-block stop chance of 5%: set block at event-block to lava on place of skeleton head: if name of player's tool is "&f&lGlowa Szkieleta": if lore of player's tool is "&5&oTen przedmiot mozna dostac od administracji!||&5&oPostaw to zobaczysz co sie stanie :)": cancel event remove 1 skeleton head named "&f&lGlowa Szkieleta" with lore "&5&oTen przedmiot mozna dostac od administracji!||&5&oPostaw to zobaczysz co sie stanie :)" from player chance of 50%: drop 2 pumpkin of unbreaking 10 named "&c&oHalloween" with lore "&5&oTen przedmiot mozna dostac od administracji!||&5&oPostaw to zobaczysz co sie stanie :)" at event-block stop chance of 30%: loop 5 times: spawn 1 zombie at event-block set the spawned zombie's display name to "&c&oHalloween" set the last spawned entity's max health to 50 heal last spawned entity set helmet of the spawned zombie to a pumpkin of protection 10 set tool of the spawned zombie to a diamond hoe of sharpness 3 apply invisibility to last spawned entity for 99999 seconds stop chance of 25%: drop 1 beacon at event-block stop chance of 10%: set block at event-block to lava stop chance of 1%: spawn 1 wither at player stop chance of 5%: drop 1 golden apple named "&e&lCUKIEREK NIESMIERTELNOSCI" at player command /refreshalleventhalloween: permission: admin.d trigger: clear {questhalloween::%player%} on spawn of zombie: set the spawned zombie's display name to "&c&oHalloween" set the last spawned entity's max health to 50 heal last spawned entity set helmet of the spawned zombie to a pumpkin of protection 10 set tool of the spawned zombie to a diamond hoe of sharpness 3 apply invisibility to last spawned entity for 99999 seconds on spawn of skeleton: set the spawned zombie's display name to "&f&lHEADSZKIELET" set the last spawned entity's max health to 50 heal last spawned entity set helmet of the spawned zombie to a skeleton head of protection 10 set tool of the spawned zombie to a diamond hoe of sharpness 5 on death of skeleton: victim is a skeleton if name of victim is "&f&lHEADSZKIELET": chance of 25%: drop 1 skeleton head named "&f&lGlowa Szkieleta" with lore "&5&oTen przedmiot mozna dostac od administracji!||&5&oPostaw to zobaczysz co sie stanie :)" at victim on death of zombie: victim is a zombie attacker is a player if name of victim is "&c&oHalloween": chance of 40%: drop 1 pumpkin of protection 10 named "&c&oDynia Halloween" at victim stop chance of 10%: drop 1 diamond hoe of sharpness 15 named "&c&oKosa Halloween" at victim on rightclick on skeleton: if name of skeleton is "&c&oLord of Halloween": if {questhalloween::%player%} is not set: set {questhalloween::%player%} to true send "&c&oLord of Halloween: &e&o*Mroczny Glos* Witaj...." wait 2 seconds send "&aTy: &eNo witam" wait 2 seconds send "&c&oLord of Halloween: &e&o*Mroczny Glos* Co cie do mnie sprowadza?" wait 2 seconds send "&aTy: &eChcialem ..." wait 0.5 seconds send "&c&oLord of Halloween: &e&o*Mroczny Glos* Dobra... nie musisz mowic wiem o co ci chodzi" wait 2 seconds send "&c&oLord of Halloween: &e&o*Mroczny Glos* Aby zdobyc CUKIEREK NIESMIERTELNOSCI musisz pokonac &5&lSLENDER&f&lMANA" apply slowness 100 to the player for 3 seconds apply blindness 100 to the player for 3 seconds wait 2 seconds send "&aTy: &eDobra gdzie go moge znalezc?" wait 2 seconds send "&c&oLord of Halloween: &e&o*Morczny Glos* Przeteleportuje cie do jego LASU ale uwazaj JEST ON STRASZNY!" wait 2 seconds send "&aTeleportacja...." apply confusion 10 to the player for 3 seconds wait 3 seconds teleport player to {slenderman::las} wait 20 seconds spawn 1 enderman at {slenderman::las} set the spawned enderman's display name to "&5&lSLENDER&f&lMAN" set the last spawned entity's max health to 300 heal last spawned entity on death of enderman: attacker is a player victim is a enderman if name of victim is "&5&lSLENDER&f&lMAN": drop 1 golden apple named "&e&lCUKIEREK NIESMIERTELNOSCI" at victim clear {questhalloween::%attacker%} on damage: attacker is a player victim is a enderman if name of victim is "&5&lSLENDER&f&lMAN": chance of 40%: apply slowness 10 to the attacker for 10 seconds apply blindness 10 to the attacker for 10 seconds send "&b&l*FREEZE*" to attacker command /lordofhalloween: permission: lord.of.halloween trigger: spawn 1 skeleton at player set the spawned skeleton's display name to "&c&oLord of Halloween" set the last spawned entity's max health to 9999999 heal last spawned entity set helmet of the spawned skeleton to a pumpkin of protection 10 set tool of the spawned skeleton to a diamond hoe on eat of golden apple: if name of player's tool is "&e&lCUKIEREK NIESMIERTELNOSCI": apply strength 5 to the player for 460 seconds apply speed 5 to the player for 460 seconds apply absorption 5 to the player for 460 seconds apply regeneration 5 to the player for 460 seconds command /setspawnlasslenderman: permission: admin.lasslender trigger: set {slenderman::las} to location of player send "&aLokalizacja lasu zostala ustawiona!"