I used an OverlapSphere to check for any eligible objects around a transform that is positioned slightly in front of the player. If the sphere contains objects that can give points, it adds the value of each objects money value into a new variable, which is then added to the player's score. The money value of each object that gives points is stored in a separate script on their object.