Solved 3x3 Shovel

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

    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.
Hey everyone,

Can someone help me with a 3x3 shovel Skript, this would be so when you mine a block with a shovel named something like "Dirtsper" it would not mine 1x1 would mine 3x3.

If this could also have a command like /supershovel <player> that would give the player the shovel :emoji_slight_smile:

Answers appriciated :emoji_slight_smile:

- TheCringleYT
 
i gotchu fam [UNTESTED]


Code:
command /supershovel:
    permission: super.shovel
    trigger:
        give diamond shovel named "&c&lDirtsper" to player

on break:
    if player's tool is a shovel named "&c&lDirtsper":
        loop blocks in radius 5 around the targeted block:
            create a fake explosion at targeted block
            give loop-block to player
            set loop-block to air
    else:
        uncancel event
 
Last edited:
ye done
[doublepost=1576132286,1576132194][/doublepost]
i gotchu fam [UNTESTED]


Code:
command /supershovel:
    permission: super.shovel
    trigger:
        give diamond shovel named "&c&lDirtsper" to player

on break:
    if player's tool is a shovel named "&c&lDirtsper":
        loop blocks in radius 5 around the targeted block:
            create a fake explosion at targeted block
            give loop-block to player
            set loop-block to air
    else:
        uncancel event
well thats will cause lag, no chance of the block to go away like being picked up by another player, target block is not good
[doublepost=1576132324][/doublepost]Here ya go Cringle
 

Attachments

  • SuperShovel.sk
    509 bytes · Views: 403
if your skript doesnt work its cause novastosha didn't put in the slash for the command but im not here to be rude and obnoxious so you guys have a good day (also if im not correct players can also break barriers and obtain those so be careful :v)
 
Last edited:
if your skript doesnt work its cause novastosha didn't put in the slash for the command but im not here to be rude and obnoxious so you guys have a good day (also if im not correct players can also break barriers and obtain those so be careful :v)
commands with out "/" wil lwork :emoji_slight_smile: Thanks for barrier point
[doublepost=1576158425,1576158228][/doublepost]
if your skript doesnt work its cause novastosha didn't put in the slash for the command but im not here to be rude and obnoxious so you guys have a good day (also if im not correct players can also break barriers and obtain those so be careful :v)
I don't also wanna be rude but told you these points to learn and improve your scripts :emoji_wink: "Public benefit"
 
commands with out "/" wil lwork :emoji_slight_smile: Thanks for barrier point
[doublepost=1576158425,1576158228][/doublepost]
I don't also wanna be rude but told you these points to learn and improve your scripts :emoji_wink: "Public benefit"
Ok, if I was rude sorry about that. Didn't know that commands work without the slash :v
 
Status
Not open for further replies.