How to Scopre Points when colliding with objects

How to Scopre Points when colliding with objects