Player 1 controls: W to move forward S to move backward D to turn right A to turn left Q to move turret left E to move turret right Space to shoot R to respawn F to surrender and upgrades. Player 2 Controls: Up arrow key to move up Down arrow key to move down Right arrow key to turn right Left arrow key to turn left 3 to turn your turret left 1 to turn it right 0 to Shoot 4 to respawn 5 to surrender Upgrades coming.
The problem was that it would only allow player 2 to move if player did not equal check and it right before it says set check to player 1. So by getting rid of the if then else and replacing it with just a if then player 2 would work. I also changed the keys and added some stuff. Thanks umer778 for asking for help it was a really fun challenge