Chris Lubinsky's 20-yard touchdown strike to Austin Stiles and subsequent 2-point conversion run gave Ceres High School's varsity football team a 57-56 lead over Pacheco at the 1:21 mark of the fourth quarter.
"Everyone was going crazy," Bulldogs head coach Bret Durossette said.
The excitement didn't last for long as the Panthers rallied for a 64-57 victory.
Carlos Garcia's third rushing TD came with 12 seconds to play and propelled Pacheco to a thrilling win over Ceres High Friday night at Bulldog Stadium.
"Obviously, it didn't end the way we wanted it to," Durossette said. "I told the kids to remember what that feeling's like. They're upset. They need to get over it. Hopefully, it motivates them to play better next game."
The Bulldogs dropped to 2-6 overall and 1-3 in the Western Athletic Conference.
The Panthers improved to 4-4 and 3-1.
The two teams combined for 121 points.
Lubinsky completed 16 of 23 passes for 280 yards with three touchdowns and no interceptions.
Austin Stiles grabbed five passes for 114 yards and two touchdowns.
Marcellus Boykins totaled 67 yards and one TD on four receptions.
Johnni Smith-Willis rushed for 187 yards and two touchdowns on 13 carries.
Aaron Black added 36 yards and one score on five attempts.
Pacheco's offensive unit totaled a season-high 654 yards, nine touchdowns and 25 first downs.
Aric Barton completed 6 of 10 passes for 216 yards with four TDs and no picks.
Garcia gained 178 yards and scored three touchdowns on 30 carries.
Tk Teneng piled up 238 yards and a pair of scores on 28 carries.
Alijah Siordia hauled in three passes for 97 yards and two touchdowns.
Garcia tallied 100 yards and one TD on two catches.
Chris Munoz had a 19-yard touchdown reception.
Ceres High led by a touchdown, 42-35, at halftime.
Bulldog all-purpose player Seth Gibson opened the scoring when he returned the opening kickoff for a TD.
Pacheco's final possession covered 75 yards.
"We did what we wanted to, offensively," Durossette said. "We just scored too soon at the end of the game."
Ceres High will face El Capitan (2-5, 1-2) on Oct. 30 in Merced.
Kickoff slated for 7 p.m.
"We need a break," said Durossette, whose team will not compete this week. "We got to get better."