on script load: register new shaped recipe for sponge named "&ke &6Stoniarka &ke" using stone, stone, stone, stone, diamond, stone, stone, stone, stone register new shaped recipe for obsidian named "&5&lBOYFARMER" using obsidian, obsidian, obsidian, obsidian, diamond, obsidian, obsidian, obsidian, obsidian register new shaped recipe for sandstone named "&e&lSANDFARMER" using sand, sand, sand, sand, diamond, sand, sand, sand, sand register new shaped recipe for end portal frame named "&c&lAUTOFOSA" using diamond, diamond, diamond, diamond, gold ingot, diamond, diamond, diamond, diamond on break of stone: if {stoniarka::%event-block%} is true: if player has permission "sk.svip": wait a second set block to stone stop if player has permission "sk.vip": wait 2 second set block to stone stop if player's tool is gold pickaxe: set block to air set {stoniarka::%event-block%} to false drop 1 sponge named "&6&ke &6Stoniarka &ke" wait 3 second set block to stone stop on place of sponge: if name of player's tool is "&ke &6Stoniarka &ke": send "&e&oStworzyles &6Stoniarke" set {stoniarka::%event-block%} to true set block to stone on place of end portal frame: if name of player's tool is "&c&lAUTOFOSA": loop blocks under event-block: if loop-block is bedrock: stop set loop-block to air set event-block to air on place of sandstone: if name of player's tool is "&e&lSANDFARMER": loop blocks under event-block: if loop-block is bedrock: stop set loop-block to sand set event-block to sand on place of obsidian: if name of player's tool is "&5&lBOYFARMER": loop blocks under event-block: if loop-block is bedrock: stop set loop-block to obsidian set event-block to obsidian