using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine;

public class LevelLoader : MonoBehaviour
{


	public string levelToLoad;

	void Update () {
		if (PlayerController.count <= 0) {
	
			SceneManager.LoadScene (levelToLoad);
	
		}
	}
		

}

