#drawing particles at location of player

1 messages · Page 1 of 1 (latest)

karmic idol
#

please help

#

im making a simple skript and i dont understand why it doesnt work

#
    if name of player's held item is "&3&lDiamond &b&lSword &7[&63&7]":
        set {_diamondswordwaited} to difference between {diamondswordwaited::%player%} and now
        if {_diamondswordwaited} is less than 5 seconds:
            send action bar "&c%difference between 5 seconds and {_diamondswordwaited}% cooldown" to player
            stop
        else:
            draw 20 of dust using dustOption(white, 20) at player
            push player upward at speed 2
            push player forward at speed 1
            loop 100 times:
                draw 5 of dust using dustOption(red, 20) at player
            set {diamondswordwaited::%player%} to now```
#

there are no errors but when i right click i get launched but the particles dont follow me

#

they just stay where my first location was (pre launch)

ocean nexus
#

there isn't a wait in the loop

#

so its going to draw all 100 copies of 5 dust in the span of <=1 tick

#

also you don't need to add a stop at the end of your cooldown part; it's literally in an if: else: statement; it's not going to continue