Paste #115738: Bow Teleport

Date: 2023/09/28 05:11:34 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


bow_tp:
  type: item
  debug: false
  material: bow
  mechanisms:
      unbreakable: true

bow_tp_command:
  type: command
  debug: false
  name: teleporter
  description: Gives you a bow & an arrow that teleport wherever it lands
  usage: /teleporter
  permission: teleporter.bow
  script:
  - give bow
  - give arrow

bow_tp_handler:
  type: world
  events:
   after player shoots bow:
     - wait 10t
     - teleport (<context.shooter>) [<context.projectile>]