script not re-enabling

Hi sorry to post so many questions but i have a problem my script that i disable wont reenable any ideaS?

using UnityEngine;
using System.Collections;

public class BlockBuild : MonoBehaviour 
{

	private PlaceObject anotherScript;
	
	void Start()
	{
	 anotherScript = GetComponent<PlaceObject>();
	}
	
void OnTriggerEnter2D (Collider2D col)
    {
        if(col.tag == "Block") col.renderer.material.color =  Color.red;
		anotherScript.enabled = false;
    }
 
  void OnTriggerExit2D (Collider2D col)
    {
        if(col.tag == "Block") col.renderer.material.color =  Color.green;
		anotherScript.enabled = true;
    }
}

A possible issue might be that you are using the if statement badly. The if statement only contains the color change in this situation and if your object enters a trigger other than “Block” the script will be disabled again. Use them like this:

void OnTriggerEnter2D (Collider2D col)
    {
        if(col.tag == "Block")
        {
           col.renderer.material.color =  Color.red;
           anotherScript.enabled = false;
        }
    }

void OnTriggerExit2D (Collider2D col)
    {
        if(col.tag == "Block")
        {
           col.renderer.material.color =  Color.green;
           anotherScript.enabled = true;
        }
    }