using UnityEngine;
using System.Collections;

public class Reset_Lvl : MonoBehaviour {

	public Globals globals;
	public GameObject Play;
	public Player playScript;









	// Use this for initialization
	void Start () {


	}

	void OnTriggerEnter (Collider coll){

		Play.transform.position = globals.checkPoint;
		playScript.vertivalVelocity = 0;






	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
