var health = 15;
function Update () {
print(health);
}
function OnTriggerEnter (other : Collider)
{
if (other.gameObject.CompareTag("Enemy"))
{
health -= 5;
}
if (health = 10)
GameObject.Find("(1)Green").SetActiveRecursively(false);
}