Hall's score boosted the Knights' lead to 21-13 with 5:05 left in the first half.
Baylor kept punching back, though. Petty answered Hall's score by running for a 13-yard touchdown, accented by a flip into the end zone when UCF defensive back Jacoby Glenn hit the diving quarterback in the legs.
Bortles then led UCF on a nine-play, 83-yard touchdown drive, capped by another catch-and-run touchdown to Hall, this one going 34 yards. The extra point gave the Knights a 28-20 halftime lead.
NOTES: UCF and Baylor both began the season unranked and went on to win their respective conferences. UCF finished 8-0 in the American Athletic, while Baylor won the Big 12 with an 8-1 mark. ... Baylor has been ranked in the top 10 for eight consecutive polls, a program record. ... UCF entered on an eight-game winning streak, the longest in program history.