I used a bool to calculate if logging in is true, so instead of typing the calculation out i wanted to use bool "Testing" and it works if you log in on the first go, but if you fail the log in it prompts you to log in again, then it checks the bool to see if its true but it doesnt and always executes the else near line 32, I cant figure it out, if i remove the bool and type the calculation it runs fine
to login use 1 and 4 but fail it to get the second log in screen
You don't ever update the value of Testing. When you get to line 32, the value of Testing is the same is it was when you set it at line 16.
And if you've gotten to line 32, then it must be false, because that line of code only executes if it was false at line 18.
Edit: And I strongly advise you to get into the habit of using a consistent indentation style. You'll find it will help you see and understand what your code's doing a lot more easily.