Fading Transitions.

I am working on a transition thing for a project, my script has 1 single error and i cant seem to find a problem. Any help?
Error is the line with ‘StartCoroutine’

 public string sceneName1 = "";
    public Animator Fadey1;
   public string FadeTime = "";
   public string sceneName2 = "";

    void Update()
    {
        if(Input.GetMouseButtonDown(0))
    {
       
         LoadNextLevel();
    }
}
     
    public void LoadNextLevel()
    {
      StartCoroutine(LoadLevel(SceneManager.LoadScene(sceneName1));
       
       }


     IEnumerator LoadLevel(int levelIndex)
      {
        Fadey1.SetTrigger("Start");
       
       yield return new WaitForSeconds(FadeTime);

        SceneManager.LoadScene(scenename2);
   }
}

You probably wanted to do something like this:
in LoadNextLevel
StartCoroutine(LoadLevel(SceneManager.GetActiveScene().buildIndex + 1));
and in LoadLevel
SceneManager.LoadScene(levelIndex);
In this case, the levels will be loaded sequentially by index (considering that you do not load them in “additive” mode and there is only one active level). Make sure that the coroutine won’t run multiple times (for example, make a bool to check).

I am wanting to put a scene in a ‘string box’ and then the scene name will be searched and loaded, it is easier this way because each scene is in a ‘organized order’ and not a ‘events order’

Fixed it, changed the script so it bascially has same exact functions but shorter