How Do I Detect If A Player Touches A Locally Made Part

I’m trying to make a coin system where when a NPC dies, it drops a cluster of coins, that only the Player that killed it can see and pick up. I create the coin by cloning it locally. I tried doing a touch function inside both a local script and server script that’s parented to the coin. However this didn’t work and I don’t know how I would achieve this.

Use a local script since the server can’t see the client part and parent it to a descendant of the player or it won’t run

Inside the script you used to clone the coins and make them drop on NPC death, make a touched event detecting if you touch the coin