GAINESVILLE, Fla. -- Florida coach Dan Mullen strolled to the middle of the locker room and waved his arms.
Then he started moving the rest of his body. A few seconds later, his players joined in and created a full-team dance party .
After last week's debacle against Kentucky , the Gators needed a feel-good victory.
Freddie Swain scored twice, including on an 85-yard punt return, and Florida beat Colorado State 48-10 Saturday in a game dubbed the "Buyout Bowl."
"Sometimes we're looking at the guys' eyes and they're coming into this program and they fear losing and they're relieved by winning," Mullen said. "You can't be successful that way. You can't play that way. You can't act that way. You can't even think that way."
Feleipe Franks also threw two touchdown passes, giving him nine in three games and matching his total from last season.
"That's a big step forward," Mullen said.
The Gators (2-1) were far from perfect offensively, though, finishing with 341 yards or more than 200 fewer than the Rams (1-3) had been giving up this season.
Franks had a few highlights, including an 18-yard strike to Swain in the second quarter and an even better deep ball to Van Jefferson in the fourth.
Jordan Scarlett had a 30-yard touchdown run in the second, his first trip to the end zone in nearly two years.
The Gators were otherwise mediocre on that side of the ball, managing just 44 plays and 14 first downs.
Special teams were a different story. Tyrie Cleveland recovered a blocked punt for a score , and Swain delivered the fourth-longest punt return for a touchdown in school history.
That was enough to put away the Rams in a game that served as a reminder of ex-coach Jim McElwain's success at Colorado State and his failure at Florida.
The Gators will pay the Rams a whopping $2 million for the game, part of McElwain's $7 million buyout to leave Fort Collins for Gainesville late in the 2014 season. McElwain didn't last long enough at Florida to be around for the game against his former team. He is now the receivers coach at Michigan.
Franks completed 8 of 15 passes for 119 yards, with two touchdowns and an interception. He was 8-of-9 passing after missing his first six throws.
Scarlett ran six times for 56 yards. Freshman Dameon Pierce went untouched for a 68-yard score late in the game and finished with 87 yards on the ground.
K.J. Carta-Samuels was 21-of-34 passing for 217 yards and a score.
The Rams lost three of their four fumbles and also missed two field goals. They managed 310 yards on 83 plays and picked up 22 first downs.
"Our guys need to hold their heads high," said CSU coach Mike Bobo, who fell to 6-13 all-time as a player and coach against Florida. "The score is not indicative of how we played or how close the game was."
Colorado State: Gets the largest single-game guarantee that any school has ever paid another, a huge payday to come cross-country and play in draining heat and humidity. The Gators still owe the Rams $1 million of the $3 million they agreed to pay to lure McElwain from Fort Collins in 2014.
Florida: Got a much-needed victory, but showed little, if any, progress on both lines of scrimmage. Kentucky dominated the Gators in the trenches in their Southeastern Conference opener last week.
Florida linebacker David Reese, who led the team in tackles in 2017, missed his third consecutive game because of a knee injury. Reese was hurt during fall practice, and coach Dan Mullen talked earlier this week like Reese would make his debut. Senior defensive end CeCe Jefferson made his debut. He missed the first games of the season because of academic issues.
Colorado State: After playing consecutive SEC teams, the Rams host Illinois State of the Football Championship Subdivision next Saturday.
Florida: Plays its first road game of the season at Tennessee next Saturday. It's the first of seven straight SEC games for the Gators.
More AP college football: http://apnews.com/tag/collegefootball and http://www.twitter.com/AP-Top25
LSU board set to weigh Orgeron raise, extension
LSU coach Ed Orgeron is in line for a two-year extension to 2023 and a $500,000 pay raise to $4 million annually, plus incentives, under a proposal drafted by the university's athletic administration.
Michigan without Hill, Collins at spring practice
Michigan is without defensive back Lavert Hill and wide receiver Nico Collins at spring practice after both had unspecified procedures.
Two Texas A&M-Commerce football players shot
Authorities say two Texas A&M University-Commerce football players were shot during a robbery Saturday morning. Both are recovering in a Florida hospital.
Wolverines picking up pace under new OC Gattis
Michigan head coach Jim Harbaugh says his team is working to incorporate an increased tempo and more downfield passing into its offense under OC John Gattis.
Murray impresses scouts, coaches at Pro Day
Todd McShay and Tim Hasselbeck break down Kyler Murray's exceptional workout at Oklahoma's Pro Day.
Murray has no regrets about choosing football
Kyler Murray defends his decision to play football saying he made the 'right choice.'