#================= StoneGenerator - by EmsonGames ================ # ===================== KOD/CODE ====================== on script load: register new shaped recipe for emerald ore named "&aMagiczna stoniarka" using stone, stone, stone, stone, emerald, stone, stone, stone, stone on place of emerald ore: if name of the player's tool is "&aMagiczna stoniarka": send "&7Postawiles: &aMagiczna stoniarke" 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: &aMagiczna stoniarke" set event-block to air if player can hold 1 emerald ore named "&aMagiczna stoniarka": give 1 emerald ore named "&aMagiczna stoniarka" to the player stop else: drop 1 emerald ore named "&aMagiczna stoniarka" stop else: wait 1 second set event-block to stone stop