Hi Germano,
Welcome to our community! 
You could add a bool variable to your coin script and name it wasCollected or something like that. When the coin was collected, you set the bool to true. In your collision/trigger method, you check the value of the variable before adding points.
Did this help you fix the problem?
See also:
- Forum User Guides : How to mark a topic as solved