Help with certain tools

  • 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!

Don't you just love it when you're almost done with your code and then you accidentally reload the page and lose all your progress? Yeahhh, it just happened to me for the second time today.

on right click:
    add targeted block to {block::%player%}
    give {block::%player%} to player

command /addblockdrop:
    permission: op
        set {_adminblock} to targeted block
        loop all players:
            if {block::%loop-player%} contains {_adminblock}:
                exit loop
                add {_adminblock} to {block::%loop-player%}
                wait 15 seconds
                remove {_adminblock} from {block::%loop-player%}

command /resetblockdrop:
    permission: op
        clear {block::*}