SkDragon Block 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.

Mattllama987

Active Member
Aug 5, 2018
225
7
18
24
Hello, im trying to get block particles for blocks that i put down, and when i break them, it would remove the particle. Im not good with SkDragon, but i already started on something here. When i place 1 block, it has the particles, but if i place another one, it wont have particles. When i break the block, it also removes the particles. But if anyone is good with SkDragon, and knows how to make this work, please let me know ASAP.

Thanks!
~Matt


Code:
on place of crying obsidian:
    if name of player's held item contains "&cHeads Storage":
        add 1 to {headstorage::%player%}
        add location of event-block to {headstorage::placed::%player%::*}
        set {storage::part::%player%} to location of targeted block
        drawComplexCircle particle "redstone", RGB 0, 0, 255, center {storage::part::%player%}, id "t", randomRotation true, radius .8, density 20, start 0, visibleRange 100, xRotation 25, yRotation 54, zRotation 0
        play falling lava at the targeted block to the player
        send "&aYou placed your &cHeads Storage!"
        create safe explosion with force 1 at event-block
        loop 10 times:
            play sound "AMBIENT_SOUL_SAND_VALLEY_ADDITIONS" at location of player for player
on break:
    if event-block is crying obsidian:
        if {headstorage::placed::%player%::*} contains location of event-block:
            stopEffect id "t"
            remove location of event-block from {headstorage::placed::%player%::*}
            send "&aYou picked up your &cHeads Storage!"
 
Status
Not open for further replies.