Paste #51819: Untitled Paste

Date: 2019/01/27 14:50:42 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


StatueBossHandler:
  type: world
  events:
##Phase One
    on player enters StatueBossCuboid: 
    - if <player.has_flag[StatueBossEntrance].not>:
      - flag player StatueBossEntrance
      - modifyblock l@-93,93,-92,map_dungeons redstone_block
      - adjust <player> "spectate:n@143"
      - title "title:<yellow>Caution!" "subtitle:<yellow>The gates ominously shut behind you..."
      - playsound <player> sound:ENTITY_ZOMBIE_ATTACK_IRON_DOOR
      - wait 10t
      - playsound <player> sound:ENTITY_ZOMBIE_ATTACK_IRON_DOOR
      - wait 10t
      - playsound <player> sound:ENTITY_ZOMBIE_ATTACK_IRON_DOOR
      - wait 10t
      - playsound <player> sound:ENTITY_ZOMBIE_ATTACK_IRON_DOOR
      - wait 10t
      - playsound <player> sound:ENTITY_ZOMBIE_ATTACK_IRON_DOOR
      - wait 1s
      - adjust <player> "spectate:<n@144>"
      - modifyblock l@-48,4,-26,map_dungeons redstone_block
      - wait 5s
      - mythicspawn ExplorerCrystal l@-73.5,100.0,-85.5,map_dungeons
      - adjust <player> "spectate:<player>"
##PhaseTwo
StatueBossPhase2TSK:
    type: task
    script:
      -if <player.has_flag[StatueBossEntrance]>:
        - adjust <player> "spectate:<n@144>" 
        - modifyblock l@-48,76,-95,map_dungeons redstone_block
        - wait 5s
        - modifyblock l@-33,4,-124,map_dungeons redstone_block
        - wait 5s
        - mythicspawn ShieldCore l@-72.5,99,-82.5,map_dungeons