PROVO, Utah -- BYU coach Bronco Mendenhall wasn't sure how his players would respond following an embarrassing 44-point loss at home to instate rival Utah.
They responded in a special way.
Cody Hoffman returned a kickoff 93 yards for a touchdown in the third quarter and BYU's special teams set up another score in a 24-17 victory Friday night over Central Florida.
"I thought our special teams made a huge difference," Mendenhall said. "We have not arrived yet, but I am very happy with the victory. It was a gratifying, hard-fought win against a good team."
"We can't keep shooting ourselves in the foot on punt returns," Knights coach George O'Leary said. "It's ridiculous. That's 14 points in two weeks we've given up. It's the difference in the game."
Central Florida (2-2) has dropped two straight after outscoring its first two opponents 92-3.
"We had some bad decisions out there. But you've just got to move on. It's a long season for a reason," O'Leary said.
The victory was a much-needed boost for the Cougars (2-2), who committed seven turnovers last week.
They forced three turnovers Friday, but it was Hoffman's third-quarter score that turned the momentum.
It was BYU's first kickoff return for a touchdown in 13 years, a string of 160 games, and answered an 84-yard scoring drive directed by Central Florida quarterback Jeff Godfrey.
"Cody worked so hard and to see him making plays and taking that next step ... is really fun," BYU quarterback Jake Heaps said. "He's playing phenomenal."
BYU was looking for any help offensively, and even moved coordinator Brandon Doman to the press box Friday after he called the first three games from the sideline.
Heaps still struggled, completing just 16 of 34 passes for 133 yards against the nation's top-rated passing defense. He also threw his fifth interception of the season. It set up Central Florida's first touchdown, a 10-yard run around left end by Godfrey.
But Heaps said the move up to the booth may be permanent for Doman after the win.
"Obviously things weren't working," Heaps said. "But this is huge, not for anybody outside but for our football team, to be able to have an experience like that where you get to grow closer as a team. It's going to be fun to see where our team decides to take it from here."
The same holds true for the Knights, who thought this might be a special season after the impressive start.
Now they have to regroup.
It will start with Godfrey.
The sophomore once again showed his versatility. He completed 17 of 25 passes for 272 yards, including a 58-yarder, and rushed for two touchdowns to give him eight on the year.
But he also threw his first interception and was sacked four times, one that knocked him out of the game for a series.
A.J. Guyton led the Knights with nine catches for 163 yards.
Godfrey put Central Florida ahead 17-10 with a 1-yard run around the right end in the third quarter. The play capped a long drive that included a 54-yard pass to Guyton.
BYU trailed 10-3 at halftime but JJ Luigi tied it with a 16-yard run with 8:13 left in the third quarter. It was the first rushing touchdown of the season for the Cougars.
The Cougars were without two starters, left guard Houston Reynolds and linebacker Jordan Pendleton, because of injury, and lost leading receiver Ross Apo in the first quarter to a mild concussion after he took a big hit going across the middle.
Jameson Frazier, who replaced Pendleton, recovered a fourth-quarter fumble.
"I'm really proud of our guys and how we came back from last week and fought to the bitter end," Frazier said. "Special teams helped us out ... but this was a team victory."