Paste #139822: waitable run doesn't follow wait in task

Date: 2026/04/05 17:51:04 UTC+00: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


worldPlayerEffects:
  type: world
  events:
    after player joins:
      - flag <player> playerIdleAnimationSelected:rings
      - while True:
        - ~run taskPlayerEffects


taskPlayerEffects:
  type: task
  script:
    - if <player.flag[playerIdleAnimationSelected].if_null[none]> == rings:
      - effectlib type:Warp origin:<player.location> effect_data:[iterations=10;radius=1.5;particle=electric_spark;period=3;update_directions=false;yaw=0;pitch=-90]
      - wait 1s

    - if <player.flag[playerIdleAnimationSelected].if_null[none]> == none:
      - wait 3s