I can't stop time. I think I messed something up in project settings.

Everything was working fine until I changed some stuff in my project settings to increase performance (I followed some random YouTube tutorial). The reason I think this is the reason for the issue is because I can’t even change the time in the project settings manually.

Here’s my code just in case I’m making a coding error:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PuaseMenu : MonoBehaviour
{
[SerializeField] GameObject puaseMMenu;
public void puase()
{
puaseMMenu.SetActive(true);
Time.timeScale = 0f;
}

public void Resume()
{
    puaseMMenu.SetActive(false);
    Time.timeScale = 1f;
}

public void Home(int sceneID)
{
    SceneManager.LoadScene(sceneID);
    Time.timeScale = 1f;
}

}

I figured out that I had another code editing the time so when I made another script trying to change the time it didn’t work. When I deleted the first code, I could change it again.