Full Walkthrough:
Passcode for door 1 is Yellow, Blue, Green, Red
Passcode for door 2 is 6, 5, 3, 4
Get wrench from the blue box
Go to green room and use the wrench to remove the screw on the sign
Leave, and when you come back click the gray panel, and make an "I" with the black boxes.
Go over to the orange panel, click the little box, and add the screw to it
Go into the next room and go the box on the wall. Click on the switch in the box
Go to the green room and grab the green diamond.
Go into the purple room. The locker combo is 27,9,30. If it doesn't work the first time try again
Take the gold key over to the little box on the table to open it get the fuse
Take the fuse to the striped box on the wall, and hook it up.
Click on the "I" in the locker with your screwdriver to get the red gem
Go back to the green room, to the left, and collect the blue gem.
Go forward to the purple room, and click on the door lock. Insert the gems in the order of blue, green, red