1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Need Help With SkDragon Particles

Discussion in 'Skript' started by Chuckins, Aug 8, 2022.

  1. Chuckins

    Chuckins New Member

    Joined:
    May 5, 2022
    Messages:
    6
    Likes Received:
    0
    Hey! So I've been trying to make a wand that shoots a fire beam that deals damage, I have everything right so far, excepty the part where SkDragon comes in, it doesn't give me any errors, there's just no particles no matter what SkDragon code I put


    Code (Text):
    1. on right click:
    2.     if name of player's held item is "&fApprentice's Wand":
    3.         if {ApprenticeCooldown} isn't set:
    4.             set {ApprenticeCooldown} to 3
    5.             loop blocks from block above player to block above block 30 in front of player:
    6.                 set {_loc} to location of loop-block
    7.                 loop living entities in radius 1 around loop-block where [entity input isn't player]:
    8.                     damage loop-entity by 4
    9.                     chance of 25%:
    10.                         ignite loop-entity for 5 seconds
    11.                     exit 2 loops
    12.                 if loop-block is solid:
    13.                     stop loop
    14.                 #I'd like to have the particle line here
    15.         if {ApprenticeCooldown} is lower than or equal to 0:
    16.             set {ApprenticeCooldown} to 3
    17.             loop blocks from block above player to block above block 30 in front of player:
    18.                 set {_loc} to location of loop-block
    19.                 loop living entities in radius 1 around loop-block where [entity input isn't player]:
    20.                     damage loop-entity by 4
    21.                     chance of 25%:
    22.                         ignite loop-entity for 5 seconds
    23.                     exit 2 loops
    24.                 if loop-block is solid:
    25.                     stop loop
    26.                 #I'd like to have the particle line here
    27.         else:
    28.             if {ApprenticeCooldown} is higher than 0:
    29.                 cancel event
    30.                 message "&cYou can use this again in &e%{ApprenticeCooldown}% &cseconds!" to player
    31.                 play sound "ENTITY_ENDERMAN_TELEPORT" with volume 200 with pitch 0.4 at player for player
    32.  
    33. every 0.1 seconds:
    34.     if {ApprenticeCooldown} is higher than 0:
    35.         set {ApprenticeCooldown} to {ApprenticeCooldown} - 0.1

    every 0.1 seconds:
    if {ApprenticeCooldown} is higher than 0:
    set {ApprenticeCooldown} to {ApprenticeCooldown} - 0.1[/CODE]
     
  2. Best Answer:
    Post #2 by mordrowned, Aug 9, 2022
  3. mordrowned

    mordrowned Member

    Joined:
    Apr 22, 2021
    Messages:
    40
    Likes Received:
    2
    You don't really need SkDragon for that, you can just use vanilla Skript
    Code (Text):
    1. play 5 FLAME with offset of 0.2, 0.2, 0.2 and speed 0 at location of loop-block
    You can easily change the amount, offset, speed and location of the particles.
     
  4. Chuckins

    Chuckins New Member

    Joined:
    May 5, 2022
    Messages:
    6
    Likes Received:
    0
    Thanks! Works like a charm!
     

Share This Page

Loading...