On Collision Enter = true HELP!!!

i tried to make up my own script about how to make my character shoot different projectiles but it has to collide with something before doing it, so i created this cube just to test it and tagged it “Upgrade” (cause its an upgrade for a weapon) but the problem is that it shoots even before it hits with the cube!!!
here is my script:

var bullitPrefab : Transform;
private var Upgrade = false;

function Update ()
{
if(Input.GetButtonDown(“Jump”))
{
var bullit = Instantiate(bullitPrefab,
GameObject.Find(“Spawnpoint”).transform.position,
Quaternion.identity);
bullit.rigidbody.AddForce(transform.up * 5);
}
}

function OnControllerColliderHit(hit : ControllerColliderHit)
{
if(hit.gameObject.tag == “Upgrade”)
{
Upgrade = true;

}
else
{
Upgrade = false;
}
}

i would really apreciate some answers!!!

var myProjectiles : GameObject[];
var spawnPoint : Transform;
var upgradeNumber : int = 0;

function Update ()
{
if(Input.GetButtonDown("Jump"))
{
var bullit = Instantiate(myProjectile [upgradeNumber], 
spawnPoint.position, spawnPoint.rotation);
bullit.rigidbody.AddForce(transform.up * 5);
}
}

function OnControllerColliderHit(hit : ControllerColliderHit)
{
if(hit.gameObject.tag == "Upgrade"  upgradeNumber < myProjectiles.length)
{
upgradeNumber++;

}
}

What I’m trying to do here is put your various projectiles into an array, then whenever the “upgrade” object is hit, change to the next higher projectile by referencing its index number in the array. I’ve also changed you spawnpoint to a fixed transform variable. Using “find” every time is costly in terms of performance and unnecessary if it’s always the same. Might as well store it as a variable. The other problem I think you’re going to have is the AddForce. You might be better off using rigidbody.velocity to set an initial velocity. AddForce is better for rockets where the force is added over time. The way you have it, you’re just adding a one frame initial force that’s quite small. I haven’t tested this code and others may be able to correct or improve it, but this is where I would start.

How Do I Do The Array Thing?..Sorry For Not Knowin :/…I Barely Started Using Unity…PLZ HELP!!! THANKS!