void Update() { // If the Player stands on the Button and E is pressed enter the Code if (Colliding && controls.EPressed) { colorscript.EnterCode(colortype); controls.EPressed = false; } }