can i explanation to why i keep getting a error The referenced script on this behavior (Game Object 'Player') is missing!

using System.Collections;
using UnityEngine;

public class playercontroller : MonoBehaviour {

private rigidbody rb;

void Start()
{
	rb = GetComponent<Rigidbody>();
}

void FixedUpdate ()

{
	float moveHorizontal = Input.Getaxis ("horizontal")
	float moveVertical = Input.Getaxis ("Vertical")

		Vector3 movment = new Vector3 (MoveHorizontal, 0.0f , MoveVertical);

	rb.Addforce (movment); 
}

}

Well from your script and error…I think you didn’t add the rigidbody component on the game object that attach with this script. Or maybe your rigidbody is on your parent or child, then you should use

rb = GetComponentInParent<Rigidbody>();

to get rigidbody component from parent or use

rb = GetComponentInChild<Rigidbody>();

to get rigidbody component from your child


Other than that, I think you need to change your horizontal with capital letter H to get the axis correctly and you forget to put semicolon

float moveHorizontal = Input.Getaxis ("Horizontal");
float moveVertical = Input.Getaxis ("Vertical");