how do I make a wall of particles?

  • 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.
Oct 10, 2021
12
0
1
23
Code:
on left click with iron sword:
    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}":
        {Pyro.effect.%player%} is 2:
            if unix date of ((metadata tag "cooldown17" of player) ? 0) wasn't less than 30 seconds ago:
                set metadata tag "cooldown17" of player to unix timestamp of now
                set {_wall} to true
            else:
                send "<red>Yarr, waitin' for spell to recharge"
            while {_wall} is true:
                set {_Block} to 3
                set {_GetBlock} to block {_Block} blocks infront of player
                loop all entities in radius 1 around {_GetBlock}:
                    damage loop-entity by 10 hearts
                    wait 0.1 seconds
                    play mob spawner flames on {_GetBlock}
                    set {_block2} to 1 block above {_block1}
                    play mob spawner flames on {_block2}
                    play mob spawner flames on {_block2} to player
I want if I right clicked with my sword called "pyro" it makes an wall of particle flames, but my code errors.
 
Status
Not open for further replies.