Jalen Green scored 26 points, Alperen Sengun had 22 points and 12 rebounds, and the visiting Houston Rockets extended their winning streak to a season-best eight games, beating the Orlando Magic 116-108 on Wednesday night.

Fred VanVleet added 19 points for the Rockets, who maintained their second-place position in the Western Conference, ahead of — among others — the surging Los Angeles Lakers and Warriors.

Paolo Banchero led Orlando with 31 points. Franz Wagner added 20 points, eight rebounds and seven assists.

Pistons 116, Heat 113 >> Cade Cunningham banked in a 3-pointer with less than a second remaining, giving Detroit a win at Miami that sent the Heat to their ninth consecutive loss.

Cunningham had his ninth triple-double of the season — 25 points, 12 rebounds and 11 assists for the Pistons, who trailed for most of the second half and never led by more than two until the final second.

Bam Adebayo finished with 30 points, nine rebounds and eight assists for the Heat.

Miami was ahead 93-88 going into the fourth quarter and led by eight in the final period.

Pacers 135, Mavericks 131 >> Pascal Siakam scored 29 points, Bennedict Mathurin scored 16 of his 23 points in the fourth quarter and host Indiana rallied from an 11-point deficit in the final six minutes to beat short-handed Dallas.

The Pacers retook the lead with 14.7 seconds left when Siakam stole the ball and a wide open Andrew Nembhard knocked down a 3-pointer to make it 131-130.

Nembhard finished with 22 points and eight assists. Mathurin also had seven rebounds.

The Pacers have won four of their last five games.

P.J. Washington Jr. finished with 26 points to lead the Mavericks, who had six of their eight available players score in double figures. Jaden Hardy had 24 points and Kai Jones added 18 points and 11 rebounds points for Dallas, which has lost nine of 10.

short-handed kings >> The Sacramento Kings were missing three key players for their game against the Cleveland Cavaliers on Wednesday night.

Star big man Domantas Sabonis was ruled out for at least 10 days after an MRI determined he had a moderate right ankle sprain after getting hurt Monday night against Memphis.

Sacramento also was without star guard Zach LaVine, who missed the game for personal reasons, and Jake LaRavia, who was out with an illness.

Sabonis had just returned to the lineup last week after missing six games with a hamstring injury. Sabonis leads the NBA with 13.9 rebounds per game to go along with 19.2 points and 6.2 assists.

LaVine is averaging 22.7 points in 18 games since joining the Kings in a trade from Chicago in February.

LaRavia is averaging 5.4 points per game.

Cavaliers guard Darius Garland missed the game for rest after Cleveland played Tuesday night against the Los Angeles Clippers.