Duncan Robinson erupted for 30 points as the Miami Heat (37-30) narrowly edged past the Detroit Pistons (12-55) with a 104-101 win.

In a thrilling finish, Bam Adebayo sealed the victory with a buzzer-beating 3-pointer, capping off a dramatic comeback for the Heat.

Robinson showcased his sharpshooting skills, hitting a season-high 10 of 15 shots from the field, including a milestone 1,000th career 3-pointer.

Despite missing Jimmy Butler, Miami’s depth stepped up, with Adebayo contributing a double-double with 20 points and 17 rebounds. Terry Rozier added 17 points, nine assists, and six rebounds, while Jaime Jaquez Jr. chipped in with 15 points.

Cade Cunningham led the Pistons with 17 points and nine assists, but Detroit couldn’t overcome Miami’s late-game heroics. Evan Fournier had a strong performance off the bench with 18 points.