I need to execute these first 2 lines (the timeScale and the Text), but I want to add a delay so after like 2 seconds The Scene Starts Over. Ty
   // called when the player answers all the problems
    void Win ()
    {
        Time.timeScale = 1f;
        UI.instance.SetEndText(true);
        SceneManager.LoadScene("Game");
    }
    // called if the remaining time on a problem reaches 0
    void Lose ()
    {
        Time.timeScale = 1f;
        UI.instance.SetEndText(false);
        SceneManager.LoadScene("Game");
    }
 
     
    