I am having a parsing error in a C# pause script, can anyone help?

using UnityEngine;
using System.Collections;

public class pause2 : MonoBehaviour {

void Start () {
}
 bool paused;
 
void OnPauseGame ()
{
	paused = true;
}
 
void OnResumeGame ()
{

paused = false;
}
}
}

public class pause2 : MonoBehaviour {

void Update () {

	if (!paused) {
			
		}
	}
}

note I am fairly new to unity and very new to C#

You have three squirly brackets at “paused = false;” remove one of them