Script is not working at all

I had this “fixed” in another qustion, but the fix still didnt work and no one seems to be answering it anymore. so here is the script that i was given

if (Input.GetKeyDown(KeyCode.esc))
{
//Load Game
Application.LoadLevel("2");
}

function Update()
{
if(Input.GetKey(“escape”))
{
Application.LoadLevel(2);
}
}

KeyCode.Escape