void OnCollisionEnter(Collision col) { if (gameObject.name != "enemy" && col.gameObject.name == "cube1") { red.enabled = true; count = true; Destroy(gameObject); heal.healthKill(count); } }