on rightclick on anvil: cancel event # Zapobiegamy otworzeniu siÄ™ GUI Kowadla set {_item} to player's tool # Ustalamy item gracza if {_item} is not any pickaxe or any sword or any axe or any shovel or bow or fishing rod: send "&cNie mozesz naprawic tego przedmiotu!" stop open chest with 3 rows named "&lNaprawa itemu" to player set slot 4 of player's current inventory to {_item} # i dalej... on inventory click: if inventory name of player's current inventory is "&lNaprawa itemu": cancel event