notexen

Make me a Skript script that basically makes a diamond pickaxe break bedrock with like the mining and dropping the bedrock

Kodari AI
KodariJan 10 at 8:56 am 247 (v2)
BedrockBreaker
A simple Skript script that enables diamond pickaxes to break bedrock blocks. When a player left-clicks on bedrock with a diamond pickaxe, the block is removed and a bedrock item is dropped at the location. Includes basic sound and particle effects to simulate mining.
Kodari can make mistakes. Review important code before using.
Files
bedrock_breaker.sk
Code
1 10
bedrock_breaker.sk
# Bedrock Breaker Skript
# Allows diamond pickaxes to break bedrock
# Version: 1.0

on left click on bedrock:
    if player's tool is diamond pickaxe:
        set event-block to air
        drop bedrock at location of event-block
        play sound "block.stone.break" at location of event-block with volume 1 and pitch 1
        play particle "block" using bedrock at location of event-block with offset 0.5, 0.5, 0.5 and count 10