Paste #63660: Untitled Paste

Date: 2020/01/06 21:03:52 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
13
14
15
16
17
18
19
20
21


on player raises vacuum:
    - flag server Raises
    - narrate <yellow>charging
    - wait 1s
    - while <player.is_blocking>:
      - narrate <green>blocking
      - 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>
        - if <[drop]> == null:
          - stop
        - adjust <[drop]> pickup_delay:0.1s
        - push <[drop]> o:<[drop].location> destination:<player.location.add[0,2,0]> ignore_collision speed:0.6
      - wait 0.1t
      #0.1 = fastest
      #CHANGE THIS TO NERF/BUFF SUCK SPEED
    on player lowers vacuum:
    - narrate <red>lowered!
    - stop