HOUSTON -- Josh Smith couldn't stop smiling Friday night.
After making what he admitted was a mistake by signing with the Clippers in the offseason, Smith got a second chance, returning to the Houston Rockets in a trade with Los Angeles earlier in the day.
Smith scored just two points in about 20 minutes of a 102-98 win over the Milwaukee Bucks, but he contributed in plenty of other ways, drawing raves from interim coach J.B. Bickerstaff and his teammates.
More from FoxSports
''The thing that's important for us is Josh's ability to pass the ball,'' Bickerstaff said. ''It's infectious when he makes the extra passes over and over again and everybody's a recipient of it.''
Smith spent the second half of last season with the Rockets before signing with the Clippers. He received a standing ovation when a video of his highlights and a welcome message was played on the video boards early in the first quarter.
Bickerstaff had said before the game that he didn't expect him to play until Sunday. Instead, Smith entered the game for the first time with about five minutes left in the first quarter and had five rebounds and six assists to go with his one bucket.
''He just did the things that don't show up in the stat sheet but that are effective and help teams win,'' said James Harden, who led the team with 30 points. ''We're just happy to have him back.''
Smith had a tough time with the Clippers and had appeared in just four games since Dec. 21.
''I wanted to play bad, man,'' Smith said. ''I haven't played in like a month, month and a half. So being able to touch that hardwood makes you appreciate a lot of things. Being able to be around a group of guys and coaching staff that is confident in you is definitely helpful for my game.''
The Rockets closed the third quarter with a 14-2 run to turn a one-point game into a double-digit lead entering the fourth.
They were up by 12 when the Bucks went on a 14-4 run that started with consecutive dunks by Giannis Antetokounmpo and Michael Carter-Williams and ended with a 3-pointer by Khris Middleton, to cut the lead to 100-98 with 6.9 seconds left.
But Trevor Ariza made a pair of free throws after that to secure the victory.
Middleton and Greg Monroe scored 21 points each for the Bucks, whose three-game winning streak ended.
The Bucks thought Smith was a key to Houston's win, too.
''He did a great job on both ends, just making plays,'' Monroe said. ''He was definitely causing problems in the lane and kicking it out and finding shooters.''
Houston led by 13 entering the fourth quarter and was up by 14 when Milwaukee used a 10-2 run to get within six at 88-82 with about 6 1/2 minutes remaining.
The Rockets used an 8-2 run, with two 3-pointers from Harden, to push it to 96-84 with 4 1/2 minutes left.
The Bucks opened the second half with a 16-4 run that cut Houston's lead to 61-60 with midway through the third quarter. Jabari Parker had six points in that span and Carter-Williams had five, highlighted by a two-handed alley-oop dunk from Parker.
Houston scored four straight points after that, but the Bucks scored the next four to get within one point again.
This time, Ariza made consecutive 3-pointers to start the big run that pushed Houston's lead to 79-66 at the end of the third quarter. Smith blocked a dunk by John Henson near the end of the quarter that had all the Rockets on the bench standing and cheering.
The Rockets scored the last five points in the second quarter to push their lead to 57-45 at halftime.
Bucks: Antetokounmpo had 18 points and six rebounds. ... Carter-Williams added 11 points with 12 rebounds. ... Milwaukee scored 58 points in the paint.
Rockets: PG Patrick Beverley missed his second straight game with a sprained left ankle. ... Ariza had 19 points. ... Terrence Jones scored 14 points with eight rebounds and four blocks.
Dwight Howard sat out after spraining his left ankle in the first minute of Wednesday night's game. Bickerstaff said he expects Howard to be out three to four more days. Howard was playing well before the injury and had 10 straight double-doubles entering Wednesday's game.
Middleton on the team's failed comeback attempt: ''We kept fighting and hung with them on their runs and kept trying to grind it out. We did give ourselves a chance to win the game. We were just a little too late.''
Bucks: Visit New Orleans Saturday.
Rockets: Host Dallas Sunday.