Two error in code CS0619 and CS1061

using UnityEngine;
using System.Collections;

public class PlayerController : MonoBehaviour 
{	
	public float speed;
	public GUIText countText;
	public GUIText winText;
	private int count;
	private int numberOfGameObjects;
	
	void Start()
	{
		count = 0;
		SetCountText();
		winText.text = "";
		numberOfGameObjects = GameObject.FindGameObjectsWithTag("PickUp").Length;
	}
	
	void FixedUpdate ()
	{
		float moveHorizontal = Input.GetAxis("Horizontal");
		float moveVertical = Input.GetAxis("Vertical");
		
		Vector3 movement = new Vector3(moveHorizontal, 0.0f, moveVertical);
		
		rigidbody.AddForce (movement * speed * Time.deltaTime);
	}
	
	void OnTriggerEnter(Collider other) 
	{
		if(other.gameObject.tag == "PickUp")
		{
			other.gameObject.SetActive(false);
			count = count + 1;
			SetCountText();
		}
	}
	
	void SetCountText ()
	{
		countText.text = "Count: " + count.ToString();
		if(count >= numberOfGameObjects)
		{
			winText.text = "YOU WIN!";
		}
	}
}

Assets/Scripts/PlayerController.cs(27,17): error CS0619: UnityEngine.Component.rigidbody' is obsolete: Property rigidbody has been deprecated. Use GetComponent() instead. (UnityUpgradable)’

Assets/Scripts/PlayerController.cs(27,27): error CS1061: Type UnityEngine.Component' does not contain a definition for AddForce’ and no extension method AddForce' of type UnityEngine.Component’ could be found (are you missing a using directive or an assembly reference?)

The error is tell you what is wrong, it is saying that just calling rigidbody like you did is no longer the way to do things, you should do this.getComponent<RigidBody>() or something like that instead.

yea they are right u should go to menu at top and click assets then api updater it will manually correct the script and then if this method does not work then try changing the code to

GetComponent<Rigidbody>();
// the code above is for c# and the code below is for unityscript or javascript:

GetComponent.<Rigidbody>();

if this helped then good and for future reference check this : unity manual rigidbody component
well are u indian well wanna team up with me i am making a game and have all assets which i made myself and now just need help in scripting thnx in advance if u willing to help…