Paste #50278: Untitled Paste

Date: 2018/10/08 11:54:57 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


halloween one:
    type: world
    events:
        on player right clicks chest:
            - if <player.has_flag[halloween_one_complete]>
                - teleport <player> l@136,93,-250,survival
                - queue clear
            - if <context.location.simple> == 124,44,4006,survival && <player.has_flag[halloween_one_chest]> {
                - give i@chest_item 
                - flag <player> halloween_one_complete
                - flag <player> halloween_one_chest:!
                - wait 10t
                - teleport <player> l@136,93,-250,survival
                - queue clear
                }
       on player right clicks dark_oak_door with gate_key:
            - if <contect.location.simple> = 137,71,4020,survival && <player.has_flag[halloween_one_chest]> {
                - switch l@137,71,4020,survival state:toggle duration:20
                }


chest_item:
    type: item
    material: i@black_shulker_box
    display name: The Clown's Chest
    lore: 
    - The clown's lost
    - chest. 
    enchantments:
    - fire_aspect:5