how to load a scene

hello I am in need of help I have been runing walls around this all day since 7 I am trying to get my player to walk up to a door and then next scene to load I now there are loads of people asking this I am sorry but I cant get it to work if you can give me script and how to set it up that will help me so much thank plz help me

Use this to load a new scene :


Then just determine when to call the above code :

function Update(){ ///Called every frame
    if(Input.GetKeyDown("l")){ //If we press l on the keyboard
       Application.LoadLevel("name");  //Load level named name

Ps : If this solved your question click the check next to this. :slight_smile: