If you are building your own collection system in Roblox Studio, you would typically use a script like this:

It uses a RemoteEvent or character teleportation to put the item in your backpack.

Instantly sells collected items at designated NPC shops without manual travel.

Highlights trinkets through walls so you can see their rarity and location.