NEW YORK — Kawhi Leonard's short shot went in and out. Fred VanVleet's 3-pointer went around the rim and spun out.
For 3 1/2 years, the Toronto Raptors had always found a way to beat the Brooklyn Nets.
This time, not one, but two chances just wouldn't fall.
"Just how the game goes sometimes," Leonard said.
That allowed the Nets to snap an eight-game losing streak overall and a 12-game skid against the Raptors with a 106-105 victory in overtime on Friday night.
D'Angelo Russell scored 29 points, including six in overtime, and the Nets beat the Raptors for the first time since April 3, 2015.
"Needed that. Really did," Russell said. "It was tough. We knew what we (had) to do to get it. So now we just got to keep going."
Jarrett Allen made the go-ahead basket for the Nets with a little more than a minute left, their only basket in overtime not made by Russell.
Leonard scored 32 points for the Raptors, but Toronto couldn't get a look for him on its final possession and had to settle for VanVleet's 3-pointer that just missed.
Spencer Dinwiddie scored 17 points for Brooklyn, which had been regularly falling short during its losing streak. The Nets had lost five times by single digits, including three two-point losses.
Jonas Valanciunas added 24 points for the Raptors.
The Nets led by seven with under 5 minutes remaining in regulation, but Leonard fed VanVleet for a 3-pointer and then scored the next six points himself to give Toronto a 96-94 edge with 2:23 to play. But his shot from in the lane rattled out with 7 seconds to play.
"Ball was in and out," Leonard said.
He then he blocked Dinwiddie's shot on the other end to force OT.
Russell had the first two baskets in the extra session, Leonard made the next two, but the Raptors couldn't get one more shot to fall and take a victory before their schedule turns tough.
"They scored four points in about the first 40 seconds of the overtime and then we held them to four the rest of the overtime. They ended up with eight but we didn't do too much better," Raptors coach Nick Nurse said.
The Bucks now host Milwaukee on Sunday before a four-game trip to the Clippers, Golden State, Portland, and Denver. The Bucks are second in the East and three of the West teams are among the top four in that conference.
The Nets jumped to a 13-2 lead and were ahead 24-20 at the end of Leonard's 0-for-4 first quarter, but he came back with nine points in the second as Toronto tied it at 53 at halftime.
"I just tried to make it tough for him. He's a phenomenal player. Last five games he's been averaging 30, just being aggressive and being himself," Nets forward Rondae Hollis-Jefferson said. "Just tried to speed him (up), make him take tough shots, make him turn, make him pick it up, settle for midrange."
Raptors: NBA assists leader Kyle Lowry had 11 but was just 1 for 8 from the field for three points. ... The Raptors missed their first eight 3-point attempts before Delon Wright made one in the final minute of the first quarter. ... Valanciunas made just his 10th start of the season, with Serge Ibaka coming off the bench.
Nets: Allen finished with 12 points and 10 rebounds. ... The Nets had lost six straight at home to Toronto.
Lowry threw a good pass to VanVleet on the final possession but was hard on himself afterward for his own poor shooting.
"Just got to play better," he said. "I don't make excuses. I don't have any excuses to make. I'm just not playing well."
Coach Kenny Atkinson said he had no problem with Jared Dudley's comments after they blew a 23-point loss to Oklahoma City on Wednesday, when the veteran forward criticized the team for its repeated mistakes in crunch time. Atkinson said he respected Dudley's honesty, adding that at his urging the players held a film session without coaches during their off day so they could attempt to find solutions themselves.
Raptors: Host Milwaukee on Sunday night.
Nets: Visit New York on Saturday night.
More AP NBA: https://apnews.com/tag/NBA and https://twitter.com/AP_Sports
Brian Mahoney, The Associated Press