Can't alter time scale on a static public bool

If it’s not set to static it says something about “accessing a non-static member” so I just made it static to shut it up. It works fine, except it doesn’t allow me to alter the time scale on a static public bool. Is there any way to fix this?

Time.timeScale = 0f;

works fine on my main menu script (which isn’t static) but doesn’t on my static game over script

any help would be great, thanks

huh? timescale is a static value in the Time class… you don’t “set it” on a bool… :face_with_spiral_eyes: would really help if you explained what you are trying to do, and how you are trying to do it

ok I set a public pool called isOver

if that bool is true I entered the

Time.timeScale = 0f;

the time scale doesn’t get set to 0 for some reason