MIAMI — Tim Duncan had 30 points and 11 rebounds, Manu Ginobili's driving layup with 36.5 seconds left was the go-ahead score, and the San Antonio Spurs rallied to beat the Heat 90-89 Thursday and extend Miami's losing streak to 15 games.

Miami's slide is two shy of matching the franchise futility record.

Dwyane Wade scored 27 points and added nine assists for Miami, but lost the ball while driving for what could have been the winning score with 3 seconds left. Mark Blount, playing in place of the injured Shaquille O'Neal, added 23 points and Jason Williams scored 14 for Miami.

Ginobili scored 18 points, 11 rebounds and eight assists for the Spurs, who got 12 points from Tony Parker and 10 from Michael Finley.

BUCKS 104, PACERS 92: At Milwaukee, Michael Redd scored 37 points and former Ute Andrew Bogut had 17 points and 11 rebounds, leading Milwaukee past Indiana. Redd scored 10 in the fourth quarter, playing every minute of the second half and 45 minutes overall as the Bucks won for only the second time in eight games. Mike Dunleavy scored 22 points and former Lobo Danny Granger added 20 for Indiana, which has lost three of four since star forward Jermaine O'Neal went out with a bruised left knee.

WARRIORS 121, NETS 119: At Oakland, Monta Ellis scored a career-high 39 points, hitting four free throws in the final minute, and the Golden State both scored 22 consecutive points and blew a 13-point lead in the nutty fourth quarter of their 121-119 victory over New Jersey.

Baron Davis posted his eighth career triple-double with 25 points, 12 rebounds and 10 assists, yet the Warriors weren't safe until Ellis hit two go-ahead free throws with a minute left and two more with 15.7 second to play. New Jersey lost its seventh straight despite Richard Jefferson's 34 points.

Al Harrington scored 19 points and hit three of his four 3-pointers while Golden State scored 22 straight points in less than four minutes early in the period. New Jersey improbably made an 18-4 rally in its fourth stop on a tough six-game road trip, taking a 112-111 lead with 2:03 left on Antoine Wright's 3-pointer.