public static void autoA() {
    spaceBar();
    robot.delay(750);
    robot.mouseMove(605, 250);
    robot.delay(1000);
    robot.keyPress(KeyEvent.VK_A);
    robot.delay(100);
    robot.keyRelease(KeyEvent.VK_A);

    if (Math.random() * 10 > 8) // si random, usa la habilidad Q x-D
    Q();
    getHP();
    // si le queda poca vida flashea random x-DD
    System.out.println(listaColoresHP.get(2).getGreen());
    if (listaColoresHP.get(2).getGreen() < 50) flashea();
  }
  public static void main(String[] args) throws Exception {
    robot = new Robot();

    inicioPartida = true;

    robot.delay(2000);
    movimientoInicial();

    robot.delay(30000);

    while (true) {
      if (!estaMuerto()) { // Si está vivo
        autoA();
      } else {
        robot.delay(20000);
        movimientoInicial();
        spaceBar();
        robot.delay(30000);
      }
    }
  }