Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage of skeleton:
- "%region at victim%" contains "key2_boss in world keys":
- cancel event
- on entity target:
- "%region at entity%" contains "key2_boss in world keys":
- "%type of entity's target%" is "player":
- cancel event
- on exit region "key2_boss":
- clearSets(player)
- on enter region "key2_nwm":
- set {_r} to random integer between 1 and 8
- {_r} is 1:
- send "&aAle tak zupelnie nic nie wiesz?"
- {_r} is 2:
- send "&aNic a nic?"
- {_r} is 3:
- send "&aPustka w glowie?"
- {_r} is 4:
- send "&aAle ze nie wiesz czy wiesz?"
- {_r} is 5:
- send "&aMoze teraz juz wiesz?"
- {_r} is 6:
- send "&aA czy wiesz ze nic nie wiesz?"
- {_r} is 7:
- send "&aGlupota boli?"
- {_r} is 8:
- send "&aCzy ty cokolwiek wiesz?"
- {key2.nwm.%player%} is not set:
- set {key2.nwm.%player%} to 1
- wait 2 minutes
- delete {key2.nwm.%player%}
- else:
- add 1 to {key2.nwm.%player%}
- {key2.nwm.%player%} is 10:
- teleport player to location 363, 31, 212 in world "keys"
- on disconnect:
- clearSets(player)
- function clearSets(p: player):
- name of {_p}'s boots is "&6&lKabanosowe Sandaly":
- set {_p}'s boots to air
- name of {_p}'s boots is "&e&lCytrynowe Sandaly":
- set {_p}'s boots to air
- name of {_p}'s boots is "&f&lCukrowe Sandaly":
- set {_p}'s boots to air
- name of {_p}'s boots is "&b&lLodowe Sandaly":
- set {_p}'s boots to air
- name of {_p}'s leggings is "&6&lKabanosowe Kalesony":
- set {_p}'s leggings to air
- name of {_p}'s leggings is "&e&lCytrynowe Kalesony":
- set {_p}'s leggings to air
- name of {_p}'s leggings is "&f&lCukrowe Kalesony":
- set {_p}'s leggings to air
- name of {_p}'s leggings is "&b&lLodowe Kalesony":
- set {_p}'s leggings to air
- name of {_p}'s chestplate is "&6&lKabanosowe Napiersnik":
- set {_p}'s chestplate to air
- name of {_p}'s chestplate is "&e&lCytrynowy Napiersnik":
- set {_p}'s chestplate to air
- name of {_p}'s chestplate is "&f&lCukrowy Napiersnik":
- set {_p}'s chestplate to air
- name of {_p}'s chestplate is "&b&lLodowy Napiersnik":
- set {_p}'s chestplate to air
- name of {_p}'s helmet is "&6&lKabanosowy Helm":
- set {_p}'s helmet to air
- name of {_p}'s helmet is "&e&lCytrynowy Helm":
- set {_p}'s helmet to air
- name of {_p}'s helmet is "&f&lCukrowy Helm":
- set {_p}'s helmet to air
- name of {_p}'s helmet is "&b&lLodowy Helm":
- set {_p}'s helmet to air
- loop {_p}'s inventory:
- name of loop-slot is "&6&lKabanosowy Helm" or "&6&lKabanosowy Napiersnik" or "&6&lKabanosowe Kalesony" or "&6&lKabanosowe Sandaly":
- remove loop-slot from {_p}'s inventory
- name of loop-slot is "&e&lCytrynowy Helm" or "&e&lCytrynowy Napiersnik" or "&e&lCytrynowe Kalesony" or "&e&lCytrynowe Sandaly":
- remove loop-slot from {_p}'s inventory
- name of loop-slot is "&f&lCukrowy Helm" or "&f&lCukrowy Napiersnik" or "&f&lCukrowe Kalesony" or "&f&lCukrowe Sandaly":
- remove loop-slot from {_p}'s inventory
- name of loop-slot is "&b&lLodowy Helm" or "&b&lLodowy Napiersnik" or "&b&lLodowe Kalesony" or "&b&lLodowe Sandaly":
- remove loop-slot from {_p}'s inventory
- on enter region "key2_boss":
- {key2.bossroom} is in region "key2_boss":
- cancel event
- send "&cTam sie dzieja straszne rzeczy"
- else:
- send "&5Czyz ten portal nie wyglada kuszaco?"
- set {key2.bossroom} to player
- loop all withers in radius 70 around player:
- "%region at loop-wither%" contains "key2_boss in world keys":
- teleport loop-wither 100 meters below loop-wither
- wait 1 tick
- delete loop-wither
- kill loop-wither
- delete {key2.wither}
- loop all skeletons in radius 70 around player:
- "%region at loop-skeleton%" contains "key2_boss in world keys":
- delete loop-skeleton
- spawn skeleton at location 351, 32, 187 in world "keys"
- set name of spawned entity to "&aStefan"
- apply slowness 99999 to spawned entity for 1 day
- spawn skeleton at location 350, 32, 187 in world "keys"
- set name of spawned entity to "&aJedrek"
- apply slowness 99999 to spawned entity for 1 day
- spawn skeleton at location 349, 32, 187 in world "keys"
- set name of spawned entity to "&aPochlaniacz kalorii"
- apply slowness 99999 to spawned entity for 1 day
- spawn skeleton at location 348, 32, 187 in world "keys"
- set name of spawned entity to "&aJurand ze Spychowa"
- apply slowness 99999 to spawned entity for 1 day
- set {_l} to 1
- set block at location 362, 29, 212 in world "keys" to redstone_block
- send "&6Za &c3 &6minuty przybedzie boss"
- loop 42 times:
- wait 5 seconds
- player is in region "key2_boss":
- loop-number is 12:
- {key2.wither} is alive:
- stop
- send "&c&lZa 2 minuty przybedzie Boss!"
- loop-number is 24:
- {key2.wither} is alive:
- stop
- send "&c&lZa minute przybedzie Boss!"
- loop-number is 30:
- {key2.wither} is alive:
- stop
- send "&c&lZa 30 sekund przybedzie Boss!"
- loop-number is 36:
- {key2.wither} is alive:
- stop
- send "&6&lBoss przybyl pokonac swoich wrogow!"
- set block at location 340, 30, 189 in world "keys" to air
- set block at location 340, 30, 189 in world "keys" to redstone_block
- set block at location 340, 30, 189 in world "keys" to air
- loop-number is 42:
- {key2.wither} is alive:
- send "&cWither tym razem wygral!"
- player is in region "key2_boss":
- teleport player to spawn of world "spawn"
- set block at location 362, 29, 212 in world "keys" to air
- else:
- player is in region "key2_boss":
- teleport player to spawn of world "spawn"
- set block at location 362, 29, 212 in world "keys" to air
- loop withers in radius 2 around {key2.wither}:
- delete loop-wither
- delete {key2.wither}
- else:
- set block at location 362, 29, 212 in world "keys" to air
- delete {key2.bossroom}
- stop
- on rightclick on skeleton:
- player is in region "key2_boss":
- set {_a} to player's tool
- type of {_a} is any helmet or any chestplate or any leggings or any boots:
- equip clicked skeleton with {_a}
- set player's tool to air
- set {_r} to random integer between 0 and 8
- {_r} is 0:
- send "&6Wojownik &e%skeleton's name%&l&8»&7 I to jest przyklad dobrego parafianina!" to player
- {_r} is 1:
- send "&6Wojownik &e%skeleton's name%&l&8»&7 Dziekuje za ten chojny dar" to player
- {_r} is 2:
- send "&6Wojownik &e%skeleton's name%&l&8»&7 Dla wiekszej chwaly Boga!" to player
- {_r} is 3:
- send "&6Wojownik &e%skeleton's name%&l&8»&7 Niech Bog ci wynagrodzi twoj czyn" to player
- {_r} is 4:
- send "&6Wojownik &e%skeleton's name%&l&8»&7 Swiety! Po prostu swiety!" to player
- {_r} is 5:
- send "&6Wojownik &e%skeleton's name%&l&8»&7 Coz bysmy zrobili bez twojej pomocy!" to player
- {_r} is 6:
- send "&6Wojownik &e%skeleton's name%&l&8»&7 Bog nam Cie zeslal!" to player
- {_r} is 7:
- send "&6Wojownik &e%skeleton's name%&l&8»&7 Nie kazdy bohater nie nosi peleryne" to player
- {_r} is 8:
- send "&6Wojownik &e%skeleton's name%&l&8»&7 Deus Vult! przyjacielu" to player
- else:
- send "&6Wojownik &e%skeleton's name%&l&8»&7 Nie tego nam potrzeba" to player
- on spawn of wither:
- "%region at event-entity%" contains "key2_wither in world keys":
- set name of event-entity to "&4&lPan i wladca szynki krakowskiej"
- set {key2.wither} to event-entity
- loop skeletons in radius 25 around event-entity:
- set loop-skeleton's target to event-entity
- wait 10 ticks
- loop skeletons in radius 25 around event-entity:
- event-entity is alive:
- loop-skeleton is alive:
- make safe explosion of force 3 at loop-skeleton
- loop skeletons in radius 3 around loop-skeleton:
- delete loop-skeleton-2
- wait 3 seconds
- on pick up stick:
- event-item is stick named "&6&lBrazowy klucz":
- player is in region "key2_boss":
- wait 1 tick
- remove all event-item from player's inventory
- {keys.keys.owned.%player%::Brazowy_klucz} is not set:
- teleport player to spawn of world "spawn"
- broadcast "&d&l%player% &5&lZnalazl Brazowy klucz!"
- send "&6[&e&lBog &6-> &cJa&6] &bWspaniale! Jeszcze 1 klucz i nagroda bedzie twoja!" to player
- wait 1 second
- send "&6[&e&lBog &6-> &cJa&6] &bWpisz /klucze, aby przeczytac wskazowke ktora ci podarowalem" to player
- set {keys.keys.owned.%player%::Brazowy_klucz} to "Pokoj pelen przelacznikow skrywa wiele tajemnic. Czasem wystarczy poczekac, a odpowiedz pokaze sie sama"
- else:
- send "&6[&e&lBog &6-> &cJa&6] &cZe niby pozwole ci wziac drugi raz ten sam klucz?" to player
- wait 4 seconds
- player is in region "key1_key"
- send "&6[&e&lBog &6-> &cJa&6] &4&lOUT!" to player
- teleport player to spawn of world "spawn"
- on damage of wither:
- "%region at victim%" contains "key2_wither in world keys":
- attacker is player:
- attacker's gamemode is not creative:
- cancel event
- on death of wither:
- "%region at victim%" contains "key2_wither in world keys":
- loop skeletons in radius 25 around victim:
- delete loop-skeleton's target
- set drops to stick named "&6&lBrazowy klucz"
- on shoot:
- "%region at event-entity%" contains "key2_boss in world keys":
- shooter is skeleton:
- loop 25 times:
- loop withers in radius 4 around entity:
- damage loop-wither by 30 hearts
- delete projectile
- stop
- wait 2 ticks
Advertisement
Add Comment
Please, Sign In to add comment