void OnTriggerEnter(Collider tri) { if (tri.gameObject.tag == "MainCamera") { hpbs.Damage(); Destroy(this.gameObject); } }