In my code I have a variable getting true if a button is pressed, and in another Scripts Update Function an if statement checking wheter the variable is true or not. But in