rcor78:
I am trying to use a button to turn a circuit on while turning the running circuits of.
I don't understand that.
If you mean that you want to be able to press a button to interrupt something that is already running then you should get rid of all the delay()s in your code because they block the Arduino from doing other things. You should also avoid using FOR or WHILE loops unless they complete very quickly - in a few microseconds. Use IF and allow loop() to do the repetition.
Have a look at the demo Several Things at a Time to see how it detects button presses while other things are happening. Note how each function runs very briefly and returns to loop() so the next one can be called. Long running processes are achieved a tiny piece at a time. And there may be dozens of calls to some functions before it is actually time for anything to happen.
...R