Why wont this script work? i get a syntax error saying unexpected symbol { and another that says parsing error.

using UnityEngine;
using System.Collections;

public class BetterMove : MonoBehaviour {
	public int MoveSpeed;

	// Use this for initialization
	void Start () {
	// Update is called once per frame
	void Update () {
	transform.Translate(Input.GetAxis("Horizontal") * moveSpeed

Hey! The error message has some useful info in it… like the LINE NUMBER and COLUMN of the error! Something like this…


That would say on line 29 column 71 there was an error. ‘Unexpected’ errors are a little confusing because they usually mean something was missing BEFORE the position of the error. In your case you are missing parens (they always come in matching pairs!) and a semi-colon.

I also fixed the error that said code not formatted properly.

One problem I can see is a missing ) and ; on line 14.