I want to make a skript for drill pickaxe like DonutSmp (while mining it with that certain Netherite pickaxe named drill pickaxe it will mine 3x3 blocks)
I created one but its not working
on break:
if tool is a netherite pickaxe:
if player has permission "drill.pickaxe":
set {_radius} to 1
set {_block} to event-block
loop {_x} from -{_radius} to {_radius}:
loop {_y} from -{_radius} to {_radius}:
loop {_z} from -{_radius} to {_radius}:
set {_target} to {_block} offset by {_x}, {_y}, {_z}
if {_target} is not {_block}:
if {_target} can be mined with a pickaxe and {_target} is obtainable in survival:
cancel event
drop {_target}
I created one but its not working
on break:
if tool is a netherite pickaxe:
if player has permission "drill.pickaxe":
set {_radius} to 1
set {_block} to event-block
loop {_x} from -{_radius} to {_radius}:
loop {_y} from -{_radius} to {_radius}:
loop {_z} from -{_radius} to {_radius}:
set {_target} to {_block} offset by {_x}, {_y}, {_z}
if {_target} is not {_block}:
if {_target} can be mined with a pickaxe and {_target} is obtainable in survival:
cancel event
drop {_target}
Last edited: