Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- armorstand: location(7238, 107, 7017.5, world "katedra")
- berlo: blaze rod named "&e&lBerlo Krola Hadesu" with lore "Pradawny kostur niegdys uzywany||przez samego Wladce Hadesu.||Podobno wystarczy wejsc z nim||do dawnej sali tronowej by||przywolac dawnego wlasciciela."
- zbrojaloc: location(7170, 105, 7017, world "katedra")
- redstone1: location(7200, 105, 7018, world "katedra")
- redstone2: location(7200, 105, 7016, world "katedra")
- spawn1: location(7235, 107, 7031, world "katedra")
- spawn2: location(7235, 107, 7003, world "katedra")
- # ---------aktywowanie questu---------
- command /asdoiajerf8quwefm-vj9824589m:
- trigger:
- "%region at player%" contains "mostbieg_berlo":
- loop all armor stands in radius 1 around {@armorstand}:
- if type of loop-armor stand's tool is blaze rod:
- clear {mostbieg.zombie::*}
- set loop-armor stand's tool to air
- send "&6Taktyczny obserwator &b» &eO nie! rozejrzyj sie!"
- loop 5 times:
- spawn baby zombie at {@spawn1}
- set {_z} to spawned zombie
- set {_z}'s passengers to {_ch}
- set boots of {_z} to leather boots
- set leggings of {_z} to chainmail leggings of protection 1
- set chestplate of {_z} to chainmail chestplate of protection 1
- set helmet of {_z} to iron helmet
- set name of {_z} to "&4&lStraznik"
- set {_z}'s tool to cooked chicken
- set target of {_z} to player
- wait 1 second
- send "&6Taktyczny obserwator &b» &eLepiej uciekaj przed tymi kreaturami na most"
- stop
- on damage of zombie:
- "%region at victim%" contains "mostbieg_quest":
- cancel event
- on enter region "mostbieg_start":
- loop all armor stands in radius 1 around {@armorstand}:
- if type of loop-armor stand's tool is blaze rod:
- push player upwards at speed 0.5
- push player east at speed 2
- send "&6Taktyczny obserwator &b» &cHej! To piekne berlo moze Ci sie dalej przydac"
- stop
- command /asfu0q351f9qitkq0p5k2 <integer>:
- permission: op
- trigger:
- arg is 1:
- block at {@redstone1} is air:
- set block at {@redstone1} to redstone block
- wait 15 seconds
- set block at {@redstone1} to air
- arg is 2:
- block at {@redstone2} is air:
- set block at {@redstone2} to redstone block
- wait 15 seconds
- set block at {@redstone2} to air
- on damage of player:
- "%region at victim%" contains "mostbieg_quest":
- reset_mostbieg(victim)
- on load:
- loop all armor stands in radius 1 around {@armorstand}:
- if type of loop-armor stand's tool is not blaze rod:
- set loop-armor stand's tool to {@berlo}
- loop all armor stands in radius 4 around {@zbrojaloc}:
- set block at {@zbrojaloc} to air
- set block at {@redstone1} to air
- set block at {@redstone2} to air
- on enter region "mostbieg_smierc1":
- reset_mostbieg(player)
- on enter region "mostbieg_smierc2":
- reset_mostbieg(player)
- on enter region "most_sprint_armor":
- loop all armor stands in radius 4 around {@zbrojaloc}:
- kill loop-armor stand
- set block at {@zbrojaloc} to redstone block
- on exit region "most_sprint_armor":
- loop all armor stands in radius 4 around {@zbrojaloc}:
- kill loop-armor stand
- set block at {@zbrojaloc} to air
- function mostbieg_end(p: player):
- set {_m} to metadata value "mostbieg.uzyc" of {_p}
- add 1 to {_m}
- if {_m} >= 3:
- send {_p} title "&4&lPorazka!" with subtitle "&fPokonala Cie armia 4 zombie-dzieci..." for 5 seconds
- clear metadata value "mostbieg.uzyc" of {_p}
- run {_p} command "warp katedra" as op
- else:
- send {_p} title "&4&lZawiodles..." with subtitle "&7Zostalo ci juz tylko %3-{_m}% prob" for 5 seconds
- set metadata value "mostbieg.uzyc" of {_p} to {_m}
- on exit region "mostbieg_quest":
- clear metadata value "mostbieg.uzyc" of player
- function reset_mostbieg(p: player):
- teleport {_p} 4 meters east of {@armorstand}
- mostbieg_end({_p})
- loop all zombies in radius 70 around {@redstone1}:
- teleport loop-zombie 100 meters below loop-zombie
- kill loop-zombie
- loop all armor stands in radius 1 around {@armorstand}:
- if type of loop-armor stand's tool is not blaze rod:
- set loop-armor stand's tool to {@berlo}
- loop all armor stands in radius 4 around {@zbrojaloc}:
- kill loop-armor stand
- wait 1 ticks
- set block at {@zbrojaloc} to air
- set block at {@redstone1} to air
- set block at {@redstone2} to air
- wait 1 tick
- heal {_p}
Advertisement
Add Comment
Please, Sign In to add comment