remove particle

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

loadka95

Active Member
Feb 24, 2017
78
6
8
26
I have tried to create a line with SkDragon between the target and the player (like a laser beam), but it's just stuck in my world and i don't know how to remove it.

The command I used:
code_language.skript:
on leftclick with steak:
    if player is op:
        if distance between the target and the player is more than 10:
            message "too far"
        else:
            damage the target entity by 3
            drawLine particle redstone, center player, target location of target, id "%player%", rainbowMode true, solid true, density 5, length 6, zigZag count 0, height 0, visibleRange 32, displacementXYZ 0, 1, 0, pulseDelay 1

IMAGE
 
try:
on leftclick with steak:
if player is op:
if distance between the target and the player is more than 10:
message "too far"
else:
damage the target entity by 3
drawLine particle redstone, center player, target location of target, id "%player%", rainbowMode true, solid true, density 5, length 6, zigZag count 0, height 0, visibleRange 32, displacementXYZ 0, 1, 0, pulseDelay 1
wait 5 seconds
stop all particle effects
stop
 
try:
on leftclick with steak:
if player is op:
if distance between the target and the player is more than 10:
message "too far"
else:
damage the target entity by 3
drawLine particle redstone, center player, target location of target, id "%player%", rainbowMode true, solid true, density 5, length 6, zigZag count 0, height 0, visibleRange 32, displacementXYZ 0, 1, 0, pulseDelay 1
wait 5 seconds
stop all particle effects
stop
I restarted the server and now its gone, but its still not doing what i want. I used it and its worked for a 10 sec, but now its nothing doing anything and i have no idea why..
 
Status
Not open for further replies.