Disabled script still working C#

Hey there. When I click on object and object’s see = true script will run IF loop. It should run just once even when Object will be clicked 10 times(I want to prevent from decreasing move points in future). So at the end of IF loop i put code that should disable all script component in that gameobject. And it works. Script is disabled but… Still woring. Still i can click on object and script will decrease move points.
sasiad is array with objects next to that object.
Where I made mistake?

 void OnMouseDown()
    {
        if (see)
        {
            klikniety = true;
            gameCtrl.GetComponent<GameControl>().move -= 1;
            foreach (GameObject value in sasiad)
            {
                if (value != null)
                    value.GetComponent<PoleControl>().see = true;
            }
            gameObject.GetComponent<PoleControl>().enabled = false;
        }
    }

The “enabled” state of a MonoBehaviour script only controls the execution of some method which are actually bound to that state. This includes Awake, Start, Update, LateUpdate, FixedUpdate. Most event based callbacks still work.

Just add an if statement:

 void OnMouseDown()
 {
     if (!gameObject.GetComponent<PoleControl>().enabled)
     {
         return;
     }

     if (see)
     {
         klikniety = true;
         gameCtrl.GetComponent<GameControl>().move -= 1;
         foreach (GameObject value in sasiad)
         {
             if (value != null)
                 value.GetComponent<PoleControl>().see = true;
         }
         gameObject.GetComponent<PoleControl>().enabled = false;
     }
 }

Never thought that OnCollision, OnTrigger and other functions work even if the script is disabled