private void OnTriggerEnter2D(Collider2D trigger) { if (lives.playerLives <= 0) { Destroy(lives); print("Triggered"); levelManager.LoadLevel("Lose"); Destroy(trigger.gameObject); ball.hasStarted = false; Brick.breakableCount = 0; } else { lives.playerLives--; lives.LivesTextPrint(); SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex); Brick.breakableCount = 0; } }