Help! CS8025: Parsing Error pic included

Imgur

I tried putting an open bracket above the red underline error and closing it in a few places but the error remains! :expressionless:

Please help

Would have been so much better to include the actual text rather then a freaking screen shot that i would have to hand type out so you get the basics.

In your case you’re forgetting the class definition which would go after(generally, but not always the case) the using statements:

using UnityEngine;
using System.Collections;

// You're missing this and the curly braces.
public class SomeClassNameAndJunk : MonoBehaviour
{
    public Camera camera;
    public floot speed = 5;

    // and the rest of your code.

}

C# scripts use classes.

using UnityEngine;
using System.Collections;

public class YoYo : MonoBehaviour {

	// Put variables and function inside of class
}

Unity Tutorials - Scripting