My character won't move and he disappears after 5 seconds

My disappears after 5 seconds and doesn’t move and doesn’t animate properly!

Here’s my code:

using UnityEngine;
using System.Collections;

public class Movement : MonoBehaviour {

	public float speed = 6.0f;

	Animator anim;

	void Start()
	{
		anim = GetComponent<Animator> ();
	}

	void Update()
	{
		PlayerController ();
	}
	
	void PlayerController()
	{
		anim.SetFloat("speed", Mathf.Abs(Input.GetAxis ("Horizontal"))); //setting the float parameter called "speed" depending on the input from the horizontal axis

		if(Input.GetAxisRaw("Horizontal") > 0) // if d or right key is pressed
		{
			transform.Translate(Vector3.right * speed * Time.deltaTime); //move right 4 pixels at a fixed framerate
			transform.eulerAngles = new Vector2 (0,0);
		}
		if(Input.GetAxisRaw("Horizontal") > 0) //if a or left key is pressed
		{
			transform.Translate(Vector3.right * speed * Time.deltaTime);
			transform.eulerAngles= new Vector2(0,180); //rotates gameobject by 180 degrees horizontally
		}
	}
}

I get this as well: The referenced script on this Behaviour is missing!

Change line 29 to:

 if(Input.GetAxisRaw("Vertical") > 0) //if a or left key is pressed

OR 

 if(Input.GetAxisRaw("Horizontal") < 0) //if a or left key is pressed

Depending on what sort of key-setup you have going on.