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.

how do I make a wall of particles?

Discussion in 'Skript' started by thecodingninja, Dec 20, 2021.

Thread Status:
Not open for further replies.
  1. thecodingninja

    thecodingninja New Member

    Joined:
    Oct 10, 2021
    Messages:
    9
    Likes Received:
    0
    Code (Text):
    1. on left click with iron sword:
    2.     if player is holding an iron sword named "<blue>Pyro" with nbt "{Unbreakable:1,AttributeModifiers:[{AttributeName:""generic.attack_damage"",Amount:10,Slot:mainhand,Name:""generic.attack_damage"",UUID:[I;-121912,29295,214724,-58590]}],HideFlags:6}":
    3.         {Pyro.effect.%player%} is 2:
    4.             if unix date of ((metadata tag "cooldown17" of player) ? 0) wasn't less than 30 seconds ago:
    5.                 set metadata tag "cooldown17" of player to unix timestamp of now
    6.                 set {_wall} to true
    7.             else:
    8.                 send "<red>Yarr, waitin' for spell to recharge"
    9.             while {_wall} is true:
    10.                 set {_Block} to 3
    11.                 set {_GetBlock} to block {_Block} blocks infront of player
    12.                 loop all entities in radius 1 around {_GetBlock}:
    13.                     damage loop-entity by 10 hearts
    14.                     wait 0.1 seconds
    15.                     play mob spawner flames on {_GetBlock}
    16.                     set {_block2} to 1 block above {_block1}
    17.                     play mob spawner flames on {_block2}
    18.                     play mob spawner flames on {_block2} to player
    19.  
    I want if I right clicked with my sword called "pyro" it makes an wall of particle flames, but my code errors.
     
  2. SpartanDylan7

    SpartanDylan7 Member

    Joined:
    Nov 27, 2021
    Messages:
    4
    Likes Received:
    0
    It might be easier to use skdragon for this.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...