void OnTriggerEnter(Collider col) { if (col.gameObject.tag == "Hazard") { robotDeaths += 1; //SceneManager.LoadScene(SceneManager.GetActiveScene().name); botControler.DoDeath(); } }