I'm pretty sure you should assign "script" and "choice" in the start function. Unless you already fixed it.
function Start() {
script = GetComponent(guiSchool2);
choice = script.flag;
}
↧