Help in a Custom Inventory script

Hi there! I am @candy666786 and for one of my jobs, I am creating a custom inventory script, but I do not know why whenever I drop a tool, this happens:

As you can see in the above, when I drop tool “1”, and equip another tool, tool one gets the image and the object for the same, I do not understand why. Here is the code:

Ty for the cooperation and help.

In the video, You take 6 Apples, Perhaps that apple that appears magically it’s the apple that hasn’t find out enough space for it before.