I have changed my view on this code. First of all there is no description in how to use the code. With trial and error I found that you have to have the mage tab open with invention button ready. Secondly you have to have the item in your inventory close to where the mage button is located if they overlap. It runs smoothly this way. If it's not set up like that it takes a while for the code to run and gets stuck in loops searching for the item to disassemble. It is a great help with disassembling but a better description before use is highly recommended to keep reviews like my first one from appearing.