How to Score Points when colliding with objects

How to Score Points when colliding with objects