PHOENIX -- Miguel Montero took two mighty swings, trying to end the game on both. He failed, so for the third, he shortened up, trying to protect the plate. That ball ended up going out and, boy, did the Arizona Diamondbacks need it. Montero hit a leadoff homer in the 10th inning after Martin Prado hit a two-run single in the ninth, helping the Diamondbacks end a four-game losing streak with a 5-4 win over the Colorado Rockies Wednesday night. "I was swinging hard, trying to launch one," Montero said of his first two swings. "Its a pretty funny game. It was the last pitch I was thinking about in that count and it was a short swing, I was kind of quick on it. That protect swing was pretty good." And a good thing for the Diamondbacks. Stuck in a rut, Arizona appeared to be in trouble after Colorado went up 4-0 after three innings on Carlos Gonzalezs two-run homer and pitcher Jordan Lyles leadoff shot in the third. It took some time, but the Diamondbacks worked their way back into it. After struggling early, Josh Collmenter quieted the Rockies bats over his final four innings and Trevor Cahill did the same while getting six outs. Paul Goldscmidt gave Arizonas offence a little life in the eighth inning, hitting a solo homer off Adam Ottavino. In the ninth, the Diamondbacks strung together a string of two-strike hits to load the bases against Rex Brothers, and Prado tied it at 4 with a two-run single up the middle. Addison Reed (1-2) kept the Rockies in check by stranding a runner at third in the 10th inning and Montero, after a couple of misses, ended it with his first career walkoff hit, a towering homer to right off Tommy Kahnle (2-1). Montero was mobbed as he crossed the plate and was treated to a dirt bath -- an Arizona walkoff tradition -- that was a nice release for a team that had won two of its first 13 games at Chase Field. "We needed that," Arizona manager Kirk Gibson said. "It was good that the guys hung in there." The Rockies certainly didnt want to end their six-game road trip this way. Colorado won four of the first give games and appeared to be in control after Lyles pitched six effective innings. But the Rockies lost the lead after Brothers struggled to put away hitters and the game when Montero hit a 1-2 fastball over the wall. Nolan Arenado extended his majors-best hitting streak to 20 games with a single in the sixth inning for Colorado, which had three hits after the third inning. "We had the game in control it looked like for most of the game, so it was a tough one to lose," Rockies manager Walt Weiss said. "It is always tough when you dont put games away." The Rockies beat up on Arizonas pitching the first two games of the series, with 13 runs and 23 hits, including 12 for extra bases. They kept it up early against Collmenter -- with a little help from the right-hander. Gonzalez got it going in the first inning, eking a two-run homer just over the wall in the right. Collmenter had a wild pitch to advance Jordan Pacheco to third in the second inning, but got a break when he was called out on appeal for leaving the base too early on a fly to right. Lyles led off the third with his first homer on Sept. 30, 2012, with the Astros at Milwaukee, and Collmenter followed with another wild pitch that scored Charlie Blackmon to put Colorado up 4-0. Collmenter settled in after that, retiring 10 straight batters until Arenados two-out single in the sixth inning. Collmenter allowed four runs on seven hits in seven innings. "He really started getting the ball down, locating better, getting his curveball down," Gibson said. "He was much more effective and to throw seven innings like that was really what we needed." That kept the Diamondbacks in it, but they couldnt get much going against Lyles. Prado hit a one-out triple off Lyles in the first inning, but was thrown out at the plate trying to score on a grounder by Goldschmidt. Arizona loaded the bases against Lyles in the sixth, scoring just one run, on Aaron Hills groundout. The Diamondbacks struggled in a similar situation the night before, failing to score with the bases loaded and no outs in a 5-4 loss to the Rockies. Unlike the night before, Arizona found a way to win it when Brothers couldnt put hitters away, particularly Prado, whos tying hit came with two strikes. "One pitch away from that game being in the books. No doubt about it," Brothers said. "I didnt execute. Bottom line. I didnt execute a pitch." NOTES: Arizonas starters have allowed 28 homers, most in the majors. ... Colorados Justin Morneau went 0 for 4 to end a 13-game hitting streak. ... The Diamondbacks have Thursday off before starting a three-game road series against San Diego with RHP Bronson Arroyo on the mound. ... RHP Juan Nicasio pitches for Colorado against the New York Mets on Thursday to start a six-game homestand. Nelson Cruz Jersey . -- Adrian Peterson takes a look around the league and sees big money flying everywhere. Jake Odorizzi Twins Jersey . The Heat centre scored 10 of his 30 points early in the first quarter to silence the Toronto fans as Miami defeated the Raptors 113-101 on Friday night. https://www.cheaptwins.com/662t-ryan-lam...rsey-twins.html. No, the San Antonio star didnt announce retirement plans during an off day at the NBA Finals on Wednesday. Lewis Thorpe Jersey . Pearce had a career-high four hits and drove in two runs, and Wei-Yin Chen shut down Texas again as the Orioles completed a four-game sweep of the Rangers with a 5-2 victory on Thursday night. Rod Carew Jersey . RAPTORS STRUGGLING: The bottom line is the true test in sports isnt just how you handle failure, but how you handle success.MILWAUKEE - The sellout crowd gave star rookie Jabari Parker the biggest pregame cheers. Veteran guard O.J. Mayo ended up having the biggest night.Under new ownership, the new-look Milwaukee Bucks got off to a good start in coach Jason Kidds sideline debut at the Bradley Center.Mayo scored 10 of his game-high 25 points in the fourth quarter, and the Bucks pulled away with an 11-0 run over the final 8:21 in a 93-81 win Friday night over the Philadelphia 76ers in their home opener.Being a young team and playing through it and finding a way to grind a win out — thats what good teams have to do in this league, so were going in the right direction, Kidd said.Parker finished with 11 points and 10 rebounds. Fellow 19-year-old forward Giannis Antetokounmpo, the teams other teen cornerstone, had eight points and six boards.But it was the 26-year-old Mayo — a grizzled veteran by Bucks standards — who got the offence going down the stretch.Mayos 3 with 5:10 left put Milwaukee up 88-81. The veteran guard sparked a 7-0 run to start the fourth quarter with another 3.After a subpar 2013-14 season, when Mayo was sidelined in part by a viral infection, the 6-foot-5 guard is averaging 21 points a game this young season.Its trusting one another out there and doing everything with energy and effort, Mayo said. Energy and effort will help us out a lot.Rookie Nerlens Noel had 14 points and 10 boards for Philadelphia.Hollis Thompsons 3 with 8:21 left got Philadelphia to within 82-81, a five-point swing for the Sixers after the Bucks Jared Bayless blew a wide-open layup on the other end.It turned out to be Philadelphias last bucket. The 76ers missed their last 14 shots.Coach Brett Brown said his team is looking for a go-to player late in games.Some of that is just evolving to try to find some specific things. I think we can put Nerlens (Noel) in some better spots. I think after that its got to be done by a collective effort, Brown said.The Sixers were also outrebounded 55-42. Larry Sanders grabbed 15 boards for Miilwaukee.ddddddddddddTIP-INS76ers: Before the game, Philadelphia exercised the third-year options for Noel and injured guard Michael Carter-Williams, last seasons NBA Rookie of the Year. The Sixers also exercised the fourth-year option for guard Tony Wroten. .... Carter-Williams is expected back in a couple weeks from a right shoulder injury. Coach Brett Brown said he could use 11 players upon Carter-Williams return.Bucks: The team broke off contract extension talks with guard Brandon Knight, who is in the final year of the four-year deal he received after being drafted in the first round by Detroit in 2011. Knight would enter restricted free agency after this season. ... The hometown fans gasped after Sanders nearly tossed in an open layup into his own bucket off a jump ball with 6:14 left in the fourth quarter. Sanders smiled as he jogged up the court.UP NEXT76ers: Host Heat in home opener on Saturday.Bucks: Visit Wizards on Saturday.KNOCKED OUTK.J. McDaniels had 12 off the bench for Philadelphia on 5-of-7 shooting in 13 minutes before getting sidelined by what he said was an injury near his right hip. McDaniels, who is scheduled to see the doctor on Saturday, said he thought he may have been hit with an elbow or knee.I played through it and it just got worse. It was severe, he said.CUT OFFKnight added 13 points, eight assists and seven rebounds but answered questions mostly about the end of contract talks after the game.It is unfortunate. I definitely wanted to get it done. I love the organization. I love the coaching staff so far, and the players are like my brothers. It is unfortunate that it didnt happen, but I wont be worried about it throughout the year, Knight said.GAME BALLThe game also represented the first home contest for new owners Marc Lasry and Wesley Edens since the New York investment firm executives bought the team in the spring. The Bucks handed the new owners the game ball in the postgame celebration.___Follow Genaro Armas at http://twitter.com/GArmasAP ' ' '