private void connectToServer() {
		try {
			MotorControls.sBar.setText("");
			TCPmessage(" [~] Attempting to connect...", 4, true);
			connection = new Socket(InetAddress.getByName(serverIP), serverPort);
			TCPmessage("Connected to: " + connection.getInetAddress().getHostName(), 2, true);
			LoginTCP.connectedGUIstate(true);
			MotorControls.controlsEnabled(true);
		}catch(IOException ioException){
			TCPmessage("Server not found!", 0, true);
		}
	}