void OnTriggerEnter(Collider col) { if (col.gameObject.tag == "Acid") { //healthBar.GetComponent<HealthBarHandler>().setReturnToBegin(true); //healthBar.GetComponent<HealthBarHandler>().setTmpForLerp(healthBar.GetComponent<Scrollbar>().size); //healthBar.GetComponent<HealthBarHandler>().setTmpTime(0); //Destroy(col.gameObject); respawn.RespawnOther(); } }