Trigger wont disable gameobject script.

Hi,i made this script,i want it disables script from other game object when i walk into trigger,but its NOT working,what is wrong here? Can someone please explain me?

function OnTriggerEnter(col: Collider){
    if (col.tag == "Player"){
    GameObject.Find ("Stick").GetComponent("FixedJoint").enabled = false;
   
    }
   
  }

Try to add a rigidbody to the trigger and check its Is Kinematic

DONT WORKS! i guess problem is in the script! but where?

HELP!

BUMP!

The script is definitely correct, so the problem resides in your scene (or logic). May be you haven’t a rigidbody attached to at least one of the two colliders, or may be that the object collider is not set to “Is Trigger”, or may be that the player object has not set tag ‘Player’… there’s few reasons which could cause it, can you upload a sample scene with what you’re doing?