Trigger animation problem

I have a script here, to trigger an animation via collider. It DID work very well, i tried it at work in our project. Thing is, i'm doing a personal project. And i tried to use the same script on my character, but it doesn't work. It give me the feedback so the script does something. Only thing is, my characters animation doesn't work. Should i post the script here? Or do guyz need some more information first?

* sorry for the mess up!! here is the script*

var target: Transform;

function Start (){
    if (target == null && GameObject.FindWithTag("Player"))
    target = GameObject.FindWithTag("Player").transform;
    collider.isTrigger = true;
}

function OnTriggerEnter() {
    if(target.gameObject.tag == "Player" ) {

    target.animation.Play("push");

    collider.isTrigger = true;

    print ( "Touch!");

    }
}

function OnTriggerExit() {
    if(target.gameObject.tag == "Player" ) {

    collider.isTrigger =true;   
    target.animation.Play("idle");
    print ( "Untouch..");

    }
}

Try this:

var target: GameObject;

function Start (){
    if (target == null && GameObject.FindWithTag("Player"))
    target = GameObject.FindWithTag("Player");
    collider.isTrigger = true;
}

function OnTriggerEnter(other : Collider) {
    if(other.gameObject.tag == "Player" ) {
       other.gameObject.animation.Play("push");
       print ( "Touch!");
    }
}

function OnTriggerExit(other : Collider) {
    if(other.gameObject.tag == "Player" ) { 
       other.gameObject.animation.Play("idle");
       print ( "Untouch..");
    }
}