Loading a new level from a previous one.

My classmates and I are making a game where we each make our own levels. I’m just wondering how I would go about doing that (I have a script, but it doesn’t seem to be working)? The way I’m doing is is having the player enter a box collider with the load next level script attached to it.

So far, this is the code I have to load the next level.

using UnityEngine;
using System.Collections;

public class LoadLevel : MonoBehaviour {

	public string levelToLoad;


	// Use this for initialization
	void Start () {
	
	}

	void LoadNextLevel (Collider col) {
		if(col.gameObject.tag == "Player") {
			Application.LoadLevel(levelToLoad);
		}
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}

Please let me know if I’m missing anything, or have stuff in the wrong spot.

You just need to call function properly

void OnCollisionEnter (Collider col) {
         if(col.gameObject.tag == "Player") {
             Application.LoadLevel(levelToLoad);
         }
     }