Helppp mee script unity 5

convert to unity 5

var quit=false;

function OnMouseEnter()
{

renderer.material.color = Color.red;	//Change Color to red!

}

function OnMouseExit()
{

renderer.material.color = Color.white;	//Change Color to white!

}

function OnMouseUp()
{

if (quit == true)
{
Application.Quit();	//If you click on quit aplication quits.
}
else
{
Application.LoadLevel(1);	//If you click on other button it loads game!
}

}

function Update()
{
if (Input.GetKey(KeyCode.Escape)) //If you press (escape) game force closes!
{
Application.Quit();
}

}

change renderer to GetComponent.<Renderer>()

It should be Unity upgrade-able by Default