void Update()
    {
        if (minutes == 0 && seconds == 0)
        {
//			#if UNITY_EDITOR
//			UnityEditor.EditorApplication.isPlaying = false;
//			#endif
            if (PopUp == false)
            {
                PopUp = true;
                LevelComplete.PopUp();
                Time.timeScale = Time.timeScale == 0 ? 1 : 0;
                Victory        = GetComponentInChildren <AudioSource>();
                Victory.Play();
                if (PlayerPrefs.GetInt("noCrash") == 0)
                {
                    collision.GetComponent <Image>().enabled = true;
                    AddNCAchievement(PlayerPrefs.GetString("Username") + nocoll, 1);
                    PlayerPrefs.SetInt("noCrash", 1);
                    PlayerPrefs.Save();
                }
                if (ScoreManager.initialScore >= 2500)
                {
                    astar.GetComponent <Image>().enabled = true;
                    AddASAchievement(PlayerPrefs.GetString("Username") + ast, 1);
                }

                if (ifLevel10 && ScoreManager.initialScore >= 2500)
                {
                    BT.GetComponent <Image>().enabled = true;
                    AddBTAchievement(PlayerPrefs.GetString("Username") + beat, 1);
                }
            }
            return;
        }

        if (milliseconds <= 0)
        {
            if (seconds <= 0)
            {
                minutes--;
                seconds = 59;
            }
            else if (seconds >= 0)
            {
                seconds--;
            }
            milliseconds = 100;
        }
        milliseconds -= Time.deltaTime * 100;
        text.text     = string.Format("{0:0}:{1:00}", minutes, seconds);
    }