void End() { //Time.timeScale = 0; bubbles = Pop.FindObjectsOfType <Pop>(); foreach (Pop bubbleOb in bubbles) { Destroy(bubbleOb.gameObject); } endscoretxt.text = score.ToString(); InGameScore.SetActive(false); PauseMenu.SetActive(true); }