The Air Force seeks the highest-qualified applicants for Pilot, Combat Systems Officer, Air Battle Manager, and Remotely Piloted Aircraft Pilot are the four Rated career fields https://www.afrotc.com/campus-life/flight/
What Determines Whether I Get a Rated Slot?
There are specific formulas to determine who receives rated slots. They incorporate your grades, PFA score, AFOQT scores, Field Training results, and how you rank among your peers. For pilots, it also includes your TBAS score and number of logged flight hours. Bottom line: excel in academics, stay fit, and be a team player! There are also obviously many medical requirements, but waivers to make exceptions on a case-by-case basis are not uncommon.
If you end up not receiving a rated slot, remember that there are many other amazing opportunities in the world's greatest Air Force, including intelligence, special operations, maintenance, space, missiles, logistics, cyber operations, security forces, and engineering. Search about AF careers: https://www.afrotc.com/life-after-rotc/