BROKEN BY SCRATCH 3.0. It's a rubik's cube! Please tell me if anything doesn't work or if you have any questions.
I used two hacked blocks from DarkLava and one from -TheHacker-. Credit to o-c-b because he figured out why my program wasn't working.