Paste #63815: Untitled Paste

Date: 2020/01/08 21:45:26 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12


- while <player.is_blocking>:
      #stays while the person is blocking: - actionbar "<red>|||<yellow>|||<green>|||"
      - if <player.cursor_on[5]||null> != null:
        - define mousepos:<player.cursor_on[5]>
        - playeffect effect:cloud at:<[mousepos].center> quantity:1 offset:0
        - modifyblock <[mousepos]> air naturally
        - define drop:<[mousepos].find.entities[DROPPED_ITEM].within[3].get[1]||null>
        - flag player dropitem:<[drop]>
        - if <[drop]> != null:
          - adjust <[drop]> pickup_delay:0.1s
          - push <[drop]> o:<[drop].location> destination:<player.location.add[0,2,0]> ignore_collision speed:0.6
      - wait 5t