function onUse(cid, item, frompos, item2, topos) piece1pos = {x=177, y=116, z=12, stackpos=1} rockpos = {x=177, y=116, z=12, stackpos=1} getpiece1 = getThingfromPos(piece1pos) if item.uid == 2000 and item.itemid == 1945 and getpiece1.itemid == 1355 then doRemoveItem(getpiece1.uid,1) doTransformItem(item.uid,item.itemid+1) elseif item.uid == 2000 and item.itemid == 1946 then doCreateItem(1355,1,rockpos) doTransformItem(item.uid,item.itemid-1) else doPlayerSendTextMessage(cid,22,"Sorry, not possible.") end return 1 end