how to display score on screen

I know this question has been asked loads of times but I want to know whats the problem with my script. I did what people say you have to do.

using UnityEngine;
using System.Collections;
public class checkifclick2 : MonoBehaviour {
    public static int points = 0;
    void OnMouseDown () {
        Destroy(gameObject);
        points = points + 1;
    }
    void OnGUI() {
        string strpoints = points.ToString ();
        GUI.Label (Rect (0, 0, 100, 100), strpoints);
    }
}

thank you

yet another thread on the same subject… you do not need to open a new thread every time you update your question.

please refer back to your previous threads which detail what happens when you destroy the object.

ok sorry 