How to I make a click point system that adds a point to a point counter destroys a cube

Trying to make a game that you click a certain falling block and if you click it then you will get a point. But what script can I use that adds points and destroys the cube. Also can someone add a script for a point counter?

So you will need to use Camera.Main.ScreenToWorldPoint so you can check to see if your mouse cursor is on the object. To add a point you can make a counter called Points and a new void called AddAPoint(). Then in AddAPoint() write Points = Points + 1. That will add one point to the variable Points. To delete the object use GameObject.Destroy(Whatever gameobject you want).
Hope this helps!