I am trying to create a game where as you don't have to use your tabs to get an obj that is laying on the ground, or even using your mouse. I want it so that when you hit the object, it'll automatically disappear and do the specified procedures.
Example: There is a sword on the ground. You wank over to it, and walk on top of it, and it automatically goes into your inventory.
Example 2: There is a potion and you walk on top of it, and it automatically heals you without having to use the tab and inventory.
It would be greatly appreciated if you could help me out.