SceneManager.LoadScene not working

This is my code: using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class SceneShifter : MonoBehaviour {
//This should change scenes
public void shift(string sceneName){
SceneManager.LoadScene (sceneName); //This should work, now. Updated!
}
}
I have it attached to my button, but cannot get the scene to change. Only the object itself changes name.

Good day,

The sceneName is a string so if the scene name is for example Menu, you need to type:

SceneManager.LoadScene ("Menu");

If this does not load the level, means the level is not added at BuildSeptup or you are not executing this line.