Paste #47731: Untitled Paste

Date: 2018/06/07 11:22:32 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


police cuffs Handler: 
  type: world 

  events: 

    # Check for the player right clicking entities with baby_wand item 
    on player right clicks entity with baby_wand: 

    # Play an effect, and run the age command on the entity
    - if <context.group_name> is equalt to Prisoner
    - wait 1s
    - teleport <context.entity> l@264.0,65.0,310.0,EscapeMe
    # ...and again for the aged_wand item 
    on player right clicks entity with aged_wand: 
    - playeffect <c.entity.location> effect:mob_spell quantity:200 data:0 offset:0.5 
    - age <c.entity> 


# Build item script containers 
baby_wand: 
  type: item 

  material: iron_ingot
  display name: Hand cuffs
  lore: 
  - "Take them to jail."