I have a parsing error. and yes, I am a noob.

Line 35,1

using UnityEngine;
using System.Collections;

public class FlashLightController : MonoBehaviour 
{

	public Light flashlightObject;

	void Start () 
	{
bool  flashlightObject = false;
	}
	

	void Update () 
	{
	if(Input.GetKeyDown(KeyCode.Mouse0))
    {
			if(flashlightObject.enabled == false)
			{
				bool flashlightObject = true;
			

		}
			else
			{
			 flashlightObject = enabled = false;
			}

		}  

	}

}
}
}

You have unbalanced {} braces. Generally speaking, each { opening brace should have a matching } closing brace. It’s easier to keep track of that if your code is organized (which yours mostly is).

Lines 35 and 36? They’re extra braces you don’t need. Delete them.

After that, you’ll need to fix lines 11, 21 and 27. You might be a little confused about how you set the enabled property:

flashlightObject.enabled = false; //example

You can also toggle a boolean value with the ! operator, also called “logical NOT”:

flashlightObject.enabled = !flashlightObject.enabled; //toggle