Error: Expecting ), found '='.

I ADDED THE GETCOMPONENT(PickUpGUI) INSIDE THE IF STATEMENT AND THIS ERROR CAME UP AND IM STUMPED CAUSE EVERYTHING LOOKS IN ORDER. WHAT AM I MISSING?
**PickUpGUI is another Script that im enabling on n off to display a pick up message.

    function Update ()
        {
        	if (thePlayer != null)
        	{
        		dist = Vector3.Distance(thePlayer.position, transform.position);
        		if (dist <= PickUpDistance)
        		{
        			GameObject.Find.tag == ("Health").GetComponent(PickUpGUI).enabled=true;
        		}
        		else
        		{
        			GameObject.Find.tag == ("Health").GetComponent(PickUpGUI).enabled=false;
        		}
    //ERROR ON THIS LINE.
        		if (Input.GetKeyDown(ButtonToPress) && GetComponent(PickUpGUI).enabled=true)
        		{
        			theItem.PickUpItem();
        			
        		}
        	}
        }

This script isn’t worth fixing. Every health box should not be calculating its distance to the player every frame.

Use a trigger collider and OnTriggerEnter(), and create a reference to your PickUpGUI that you can assign from the Inspector instead of calling GameObiect.FindWithTag (what I think you meant?) every time you need to access it.