on script load: register new shaped recipe for emerald ore named "&aStoniarka" using stone, stone, stone, stone, diamond , stone, stone, stone, stone on place: if player's tool is emerald ore named "&aStoniarka": send "&7Postawiles stoniarke! Mozesz ja zniszczyc za pomoca zlotego kilofa" add location of event-block to {stoniarki::*} on break of stone: loop {stoniarki::*}: loop-value is location of event-block if player's tool is gold pickaxe: send "&7Zniszczyles: &aStoniarke" if player can hold 1 emerald ore named "&aStoniarka": give 1 emerald ore named "&aStoniarka" to the player stop else: drop 1 emerald ore named "&aStoniarka" stop else: wait 1 second if block at location of event-block is air: set block at event-block to stone stop