C# script error help a noob out

i dont know anything about C# im getting this error error CS1519: Unexpected symbol `:' in class, struct, or interface member declaration

this is where the error is static public AUTO: bool True;

using UnityEngine;
using System.Collections;

public class AutoAI : MonoBehaviour {
    public float speed = 20;
    public float rotatespeed = 10;
    public float dis = 1;
    public float LeftRight = 2;
    public float infront = 1;
    private int direction = 1;
    static public AUTO: bool True;

    // Use this for initialization
    void Start () {

    }

    // Update is called once per frame
    void Update () {
        if(AUTO){
                if(!Physics.Raycast(transform.position, transform.forward, infront)){
            transform.Translate(Vector3.forward * speed * Time.smoothDeltaTime);
        }
        else{
            if(!Physics.Raycast(transform.position, -transform.right, LeftRight)){
                direction = 1;
            }
            else if(!Physics.Raycast(transform.position, transform.right, LeftRight)){
                direction = -1;
            }
            transform.Rotate(Vector3.up, 60 * rotatespeed * Time.smoothDeltaTime * direction);
        }
    }
}
}

Again, where did the code come from? (You can edit your original post to include that information.)

Meanwhile, my best guess is that this:

static public AUTO: bool True;

Is supposed to be:

public static bool AUTO = true;

Change your declaration for the AUTO variable to this:

public bool AUTO = true;