Help With RPG

I’m trying to make a rpg i got the movement working smotth but i’m having trouble with the inventory…let me put it this way i don’t no how to make the item go in the inventory box on contact with the player…Do any1 No any code for this…HELP ME OUT PLZ