SALT LAKE CITY — Dion Waiters scored 21 points, and the Miami Heat rallied to beat the Utah Jazz 84-74 on Friday.

Goran Dragic had 18 points for Miami, and Tyler Johnson finished with 11 on an ugly night for each team on the offensive end.

The Heat outscored the Jazz 20-8 in the third quarter after trailing by 12 at halftime. Miami put together runs of 11-0 and 7-0 during the period, and the Jazz had just one field goal in the 12 minutes.

Then Waiters took over down the stretch, scoring 10 points during a 13-0 run that made it 84-74 with 31.6 seconds remaining.

Utah was held to 25 second-half points in its lowest scoring game of the season. It was 1 for 18 in the third quarter and made just four field goals in the second half.

Jazz center Rudy Gobert went down late in the third quarter with a right knee contusion after a Heat defender fell into his legs. He returned to start the fourth quarter and finished with 12 points and 12 rebounds.

BUCKS 94, SPURS 87: Giannis Antetokounmpo had 28 points and 12 rebounds, and visiting Milwaukee snapped a four-game skid in Eric Bledsoe’s debut.

Bledsoe started in his first game with Milwaukee three days after being acquired in a trade with Phoenix. Bledsoe made his first attempt, a runner from 13 feet, and he finished with 13 points and seven assists on 6-for-15 shooting.

MAGIC 128, SUNS 112: Aaron Gordon scored 22 points and Nikola Vucevic added 19 to help Orlando win in Phoenix.

Terrence Ross and reserve Jonathon Simmons scored 17 points apiece and Evan Fournier had 14 for the Magic. They have won two straight to reach 8-5, their best start in five seasons.

PISTONS 111, HAWKS 104: Andre Drummond had 16 points, 20 rebounds and a career-high seven assists, and Reggie Jackson made a pair of 3-pointers in the final minute to lift Detroit at home.

The Central Division-leading Pistons won for the seventh time in eight games. Detroit (9-3) is off to its best start since 2005-06, when it went 10-2 to begin the season and ended up winning 64 games.

The Pistons outscored Atlanta 31-19 in the second quarter and led 57-41 at halftime, but Atlanta kept it close and finally made it 94-94 when Kent Bazemore hit back-to-back 3-pointers.

PACERS 105, BULLS 87: Victor Oladipo scored 25 points and Indiana won at Chicago to snap a four-game losing streak.

After giving up an average of 115 points during its losing streak, Indiana held the Bulls to 39.8 percent shooting in one of its stingiest defensive performance of the season. Bojan Bogdanovic made six 3-pointers and scored 22 points for the Pacers, and Thaddeus Young finished with 13 points and eight rebounds.

Bobby Portis led Chicago with 20 points and 11 rebounds in his second game of the season. Kris Dunn scored 16 points.