ORLANDO, Fla. (AP) -- Mason Plumlee had 18 points and nine rebounds, and the Brooklyn Nets beat the Orlando Magic 100-98 on Friday night for their third straight victory.

Brooklyn Nets' Mason Plumlee, left, makes a move to the basket against Orlando Magic's Nikola Vucevic (9) (AP Photo/John Raoux)

Brook Lopez and Deron Williams added 16 points apiece. The win gets the Nets back to .500 for the first time since November.

The Nets (16-16) shot well most of the night and led by as many as 26 points in the second half. The Magic (13-23) rallied in fourth quarter, and got within two points with 3.8 seconds to play on a 3-pointer by Elfrid Payton.

But they weren't able to foul again as Brooklyn successfully ran out the clock.

Brooklyn had 22 turnovers, but outscored the Magic 50-42 in the paint.

Victor Oladipo led seven Orlando players in double figures with 17 points. Payton had 16 points, 10 assists and nine rebounds.

The Magic lost their second straight game, and have dropped nine of their last 11 at home.

Payton connected on 1 of 2 free throws with just over a minute to play to help the Magic close to 98-95.

That was still the score when teammate Ben Gordon missed a jumper from the corner, leading to a scrum near the sideline.

The Magic eventually ended up with possession after a replay review. But Orlando failed to capitalize on the opportunity, with Evan Fournier missing a 3-pointer from the top of the key, giving the ball back to Brooklyn with 22.6 remaining.

Joe Johnson was then fouled and hit a pair of free throws to stretch the lead back to five.

The Nets went with the backcourt that has provided its most recent run of success, starting Jarrett Jack at point guard alongside Sergey Karasev for the seventh straight game.

Except for some early turnovers, the combination had another successful night. Brooklyn was mostly able to do what it wanted on the offensive end, hovering above 60 percent shooting for most of the game.

Lopez was the biggest beneficiary, getting several dunks off half-court sets, as well as in transition.

The Magic led 26-24 early in the second quarter before enduring an icy 2-for-17 shooting stretch.

The Nets took advantage with a 21-6 spurt and led by 12 at halftime.

TIP-INS

Nets: Brooklyn improved to 6-1 with Jack starting at point guard. ... Brooklyn shot 60 percent in the first half, but committed 10 turnovers that led to 10 Magic points.

Magic: Orlando dropped to 3-13 when its opponent scores 100 or more points. ... It was the first part of the Magic's 10th back-to-back games of 2014-15. They have a total of 17 back-to-backs this season. ... Rookie F Devyn Marble was activated and played 20 1/2 minutes after a three-game assignment with the Erie BayHawks, Orlando's NBA Developmental League affiliate.

UP NEXT

Nets: Conclude a three-game road trip at Miami on Sunday.

Magic: Host the Hornets on Saturday night to wrap up a three-game homestand.

(© 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)