MonoDevelop error CS1519

i am trying to follow a tutorial and I am receiving the error

Assets/Scripts/CharacterHealth.cs(8,14): error CS1519: Unexpected symbol `public’ in class, struct, or interface member declaration

Assets/Scripts/CharacterHealth.cs(10,14): error CS1519: Unexpected symbol `public’ in class, struct, or interface member declaration

Here is my script I’ve checked it against the tutorial and it looks the same any help appreciated

using UnityEngine;
using System.Collections;

public class CharacterHealth : MonoBehaviour 
{
	public int health = 3;
	private CharacterMovement characterMovement
	public float timer;
	public float waitTime = 2.0f
	public ParticleSystemRenderer aura;
	private Color auraColor;

	// Use this for initialization
	void Awake () 
	{
		characterMovement = GetComponent<CharacterMovement>();
		aura = GetComponent<ParticleSystemRenderer> ();
	}
	
	// Update is called once per frame
	void Update () 
	{
		if (health == 3) 
		{
			auraColor = new Color(0.0f, 1.0f, 1.0f, 0.05f);
			aura.material.SetColor("_TintColor", auraColor);
		}

		if (health == 2) 
		{
			auraColor = new Color(1.0f, 1.0f, 0.0f, 0.05f);
			aura.material.SetColor("_TintColor", auraColor);
		}

		if (health == 1) 
		{
			auraColor = new Color(1.0f, 0.0f, 0.0f, 0.05f);
			aura.material.SetColor("_TintColor", auraColor);
		}

		if (health == 0) 
		{
			characterMovement.enabled = false;
			LevelReset();
		}
	
	}

	void LevelReset()
	{
		timer += Time.deltaTime;

		if (timer >= waitTime) 
		{
			Application.LoadLevel(0);
		}
	}
}

You forgot a semicolon in line 9 :slight_smile:

Missing semi-colon on line 7.