on script load: register new shaped recipe for emerald ore named "&aStoniarka" using stone, stone, stone, stone, diamond , stone, stone, stone, stone on place of emerald ore: if name of the player's tool is "&aStoniarka": send "&7Postawiles stoniarke! Mozesz ja zniszczyc za pomoca zlotego kilofa" set {s.%event-block%} to true wait 1 second set event-block to stone stop on break of stone: if {s.%event-block%} is true: if player is holding gold pickaxe: cancel event send "&7Zniszczyles: &aStoniarke" set event-block to air 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 set event-block to stone stop