SACRAMENTO, Calif., Nov. 25 (Ticker) -- Bonzi Wells played like a man on a mission.

Wells scored the go-ahead basket with two seconds remaining as the Sacramento Kings squeezed out an 106-104 victory over the Toronto Raptors.

Video highlights from
With the game tied, 104-104, Brad Miller found Wells, who scored inside. Wells finished with 18 points and nine rebounds.

"I was like the last option," said Wells, who made 7-of-14 shots. "Coach wanted Mike (Bibby) to look for the screen and roll first, and if you don't get that look to the weak side. It was just a great play. It was timed perfectly and I'm just lucky I made the shot."

The Raptors had a chance to win it but Jalen Rose missed a 3-pointer as time expired.

"I thought it was going in," said Rose, who shot 1-of-4 from the arc. "It hit the rim twice, I definitely thought it was going in."

"I will take the win," Sacramento coach Rick Adelman said. "It looked like Rose's shot was going in, but we got lucky."

Wells also came up huge with an offensive rebound off a Bibby miss and was fouled by Morris Peterson with 32 seconds left. He sank both free throws to give the Kings a 104-102 lead.

"Fortunately in the last six minutes we made some big plays and got the lead," said Adelman, who received 94 points from his starters.

Bibby scored 25 points and Shareef Abdur-Rahim added 22 and eight rebounds for Sacramento, which has won its last two games. Miller contributed 16 points and eight rebounds.

"We played kind of lackadaisical in the beginning, and they had the lead throughout (most) of the game," said Bibby, who made 5-of-10 attempts from 3-point range. "But we got lucky at the end and got it."

Chris Bosh scored 22 points and Mike James added 17 for the Raptors, who have lost their last eight visits to ARCO Arena.

"We had our chance to win the game," said Toronto coach Sam Mitchell, whose team fell to 0-6 on the road.

Raptors rookie Charlie Villanueva continued to play well as he scored 13 points.