score not add in the gui text

hi guys i really need help in this script: when my player hits the bamboo it never add into the gui text.what is the cause of the problem for this? its only apply in the ThirdPersonStatus.

Gui text script:

static var text : String;
var Score : int = 0;

function Update () {

guiText.text= text;

}

function OnGUI(){
GUI.Label(Rect(10, 10, 100, 20),Score.ToString());

}

function OnTriggerEnter(other : Collider){
Debug.Log(“score” + Score);

if(other.gameObject.CompareTag(“bamboo”))

{
Destroy(gameObject);
Debug.Log(“collide”);
}
}

thirdpersonstatus:

enum PickupType { Health = 0, bamboo= 1 ,clock= 2}
var pickupType = PickupType.bamboo;
static var amount = 1;
var sound : AudioClip;
var soundVolume : float = 2.0;

static var Score : int;

private var used = false;
private var mover : DroppableMover;

function Start ()
{
// do we exist in the level or are we instantiated by an enemy dying?
mover = GetComponent(DroppableMover);
}

function ApplyPickup (playerStatus : ThirdPersonStatus)
{

// A switch...case statement may seem overkill for this, but it makes adding new pickup types trivial.
switch (pickupType)
{
	case PickupType.Health:
		playerStatus.AddHealth(amount);
		
		break;
		

		case PickupType.bamboo:
		playerStatus.AddScore(amount);
		break;
		
		
}

return true;

}

function OnTriggerEnter (col : Collider) {
if(mover && mover.enabled) return;
var playerStatus : ThirdPersonStatus = col.GetComponent(ThirdPersonStatus);

//* Make sure we are running into a player
//* prevent picking up the trigger twice, because destruction
//  might be delayed until the animation has finished
if (used || playerStatus == null)
	return;

if (!ApplyPickup (playerStatus))
	return;

used = true;

// Play sound
if (sound)
	AudioSource.PlayClipAtPoint(sound, transform.position, soundVolume);
	


// If there is an animation attached.
// Play it.
if (animation && animation.clip)
{
	animation.Play();
	Destroy(gameObject, animation.clip.length);
}
else
{
	Destroy(gameObject);
}

}

// Auto setup the pickup
function Reset ()
{
if (collider == null)
gameObject.AddComponent(BoxCollider);
collider.isTrigger = true;
}

@script RequireComponent(SphereCollider)
@script AddComponentMenu(“Third Person Props/Pickup”)

What are you want to use? I see you have use the GUI.Label and guiText.text.

If you want to use GUI.Label, you should to use

GUI.Label(Rect(10, 10, 100, 20), text + Score.ToString());

And is you want to use guiText.text, you should use

guiText.text = text + Score.ToString();

ONLINE STORE:

====( http://popbuynow.com/ )=====

The website wholesale for many kinds of fashion shoes, like the nike,jordan,prada,****, also including the jeans,shirts,bags,hat and the decorations. All the products are free shipping, and the the price is competitive, and also can accept the paypal payment.,after the payment, can ship within short time.

Air jordan(1-24)shoes $30

Handbags(Coach l v f e n d i d&g) $35

Tshirts (Polo ,ed hardy,lacoste) $15

Jean(True Religion,ed hardy,coogi) $30

Sunglasses(Oakey,coach,gucci,A r m a i n i) $15

New era cap $12

Bikini (Ed hardy,polo) $20

accept paypal and free shipping

====( http://popbuynow.com/ )=====

====( http://popbuynow.com/ )=====

====( http://popbuynow.com/ )=====

====( http://popbuynow.com/ )=====

====( http://popbuynow.com/ )=====

====( http://popbuynow.com/ )=====