Code gone wrong HELP

Okay so i wrote a code out to see if it would work, i get no errors when i debug but when i run the game it gives me a “The referenced script on this Behaviour is missing!”
Please Help Me :frowning:

function Update () {
if (Input.GetButtonDown(“Viewmap”));
}

function OnMouseDown(){

Application.LoadLevel (“1”);

}

That shouldn’t have anything to do with the particular chunck of code. This usually happens when you delete a script from the project that was attached to a game object.

To fix it, go to the console and click on the warning. Unity should highlight the game object that threw this issue. Find the component Mono Behaviour and choose the appropriate script that you want to use.