Here's an entity component that works hand in hand with the Player Component, Shooter. It essentially dictates whether or not an object will detect if it's been shot by a player. Linking is required to determine what happens when it is - whether it be a health buff, score increase, destruction, etc.