problem with getting a point system to work

I’m having problems with the code below for some reason I cant get a point system to work in my games. the tag is “tangerine” and what I’m trying to do is have a gui show how many points the player has and I want the object to be destroyed once collided with which works but the points are never displayed please help!


static var currentScore : int = 0;

// A function specifically for detecting collisions with colliders

// that have had the Is Trigger flag set in the inspector

function OnTriggerEnter(collisionInfo : Collider){

    // if the current gameObject of the collider stored in the collisionInfo

    // variable has a tag of "tangerine" 

    if(collisionInfo.gameObject.tag == "tangerine"){

        // Increment the global score variable declared in the by 1

        

        currentScore++;

    

        // Remove this particular battery from the scene (the object whose collider we have hit)

        Destroy(collisionInfo.gameObject);

    }

}

function OnGUI () {

GUI.Label (Rect (10, 10, 100, 20), currentScore);

}

do gameObject.CompareTag(Tangerine") instead of .tag
heres the reference
http://unity3d.com/support/documentation/ScriptReference/GameObject.CompareTag.html