I had another variable named "S" so that might have been the problem. But... just as soon as I may have fixed that, it said a stack overflow happened in line 240. Can somebody tell me how to fix that? And I wont upload the key until the games done.