nets 115, Wizards 112

Drew Timme scored the go-ahead basket on a cutting layup with 7.7 seconds left and Brooklyn beat the NBA-worst Washington to end a six-game losing streak.

After Timme — playing his second NBA game after signing with the Nets on Friday — gave Brooklyn a 113-112 lead, Washington’s Colby Jones threw the ball out of bounds, and Jalen Wilson hit two throws to finish the scoring.

Wilson and Tyrese Martin each scored 20 points to help the Nets — 2-9 in their last 11 and 3-16 in their last 19 — avoid a season sweep against the Wizards. Timme finished with 19 points, and Cam Johnson added 18.

Magic 121, Kings 91

Paolo Banchero scored 24 points in three quarters and Orlando defeated Sacramento.

Orlando pulled even with Atlanta for seventh place in the Eastern Conference, though the Magic have played two more games than the Hawks.

Franz Wagner added 21 points on 8-of-12 shooting to help Orlando rebound from a home loss to Dallas on Thursday night that ended a three-game winning streak. Banchero also had six rebounds and six assists.

DeMar DeRozan led Sacramento with 21 points, and Domantas Sabonis had 14 points and 13 rebounds in the opener of six-game trip.

heat 118, 76ers 95

Tyler Herro scored 30 points to lead Miami to a victory over short-handed Philadelphia.

Alec Burks added 20 points for the Heat, who hold the final spot in the Eastern Conference for the play-in tournament. Miami has won four in a row following a 10-game losing streak. Herro made five of the Heat’s 20 3-pointers.

Jared Butler had 19 points to lead Philadelphia, which was eliminated from playoff contention following its seventh straight defeat.

Thunder 132, Pacers 111

Shai Gilgeous-Alexanderscored a game-high 33 points with eight assists and seven rebounds to lead Oklahoma City past Indiana.

Seven different players scored in double figures for Indiana, led by Tyrese Haliburtonwith 18 points.

Celtics 121, Spurs 111

Jayson Tatum (29) and Jrue Holiday (21) combined for 50 points to help Boston defeat San Antonio.

Keldon Johnson scored 23 points for the Spurs as San Antonio suffered a third straight loss.