ModPE.setItem(167, 3, 7, "Diamond_Kit"); ModPE.setItem(169, 2, 14, "Iron_Kit"); function useItem(x,y,z,itemId,blockId) //the hook we will use { if (itemId==0)//item is nothing { addItemInventory(167,1);//Add item addItemInventory(169, 1);//Add item } else if (itemId==167)//diamond kit { addItemInventory (276, 1);//sword addItemInventory (310, 1);//armour addItemInventory (311, 1); //armour addItemInventory (312, 1);//armour addItemInventory (313, 1);//boots } else if (itemId==169)//ieon kit { addItemInventory (267, 1);//sword addItemInventory (306, 1);//helm addItemInventory (307, 1);//zzz addItemInventory (308, 1);//zzz addItemInventory (309, 1);//zzzz } }