MILWAUKEE (AP) -- Brandon Knight overcame a bizarre foot injury, scoring 18 points and making two free throws with 5.5 seconds left Tuesday night to seal the Milwaukee Bucks' 104-100 victory over the Orlando Magic in a game between two of the NBA's worst teams.
Orlando fell to 3-24 on the road. Despite snapping a four-game losing streak, the Bucks have lost 19 of 22 overall.
Knight played 34 minutes despite slicing his foot open on a baseboard while stepping out of his bathroom shower Tuesday afternoon. He missed 10 of 13 shots from the field but hit all 12 of his free throws.
Before the game, Knight said he was unsure whether he could play. He started anyway.
Arron Afflalo scored 21 points and Nikola Vucevic added 19 for Orlando.
Nate Wolters hit a 3-pointer with 29 seconds to go to give Milwaukee a 99-97 lead. Giannis Antetokounmpo, another Bucks rookie, then got a steal and was fouled, making one of two free throws for a 100-97 lead.
After a timeout, Afflalo missed a 3-pointer and Ersan Ilyasova made a pair of free throws for a 102-97 advantage.
Jameer Nelson hit a 3-pointer with 6 seconds to go to make it 102-100. Knight was fouled and made both free throws to seal the victory.
Caron Butler, returning after missing four games with a sprained ankle, led the Bucks (10-43) with 21 points on seven 3-pointers but didn't score in the fourth quarter.
Afflalo shot 9 of 15 to snap a mini-slump. The Magic guard had made only 15 of 44 shots in his past four games.
Vucevic took a pass from Nelson and made a 14-foot jumper to give Orlando (16-39) a 97-96 advantage with 50 seconds left, its first lead since 4 minutes remained in the third quarter.
Antetokounmpo capped Milwaukee's 8-2 run to open the fourth quarter. He blocked a layup attempt by Kyle O'Quinn and hit John Henson for a dunk, giving the Bucks an 89-81 lead with 8:57 to go.
Orlando scored the next seven points to pull to 89-88 on Maurice Harkless' 3-pointer with 6:44 left.
Butler made six 3s and the Bucks led 53-47 at halftime. It was only the 10th time in 53 games that Milwaukee has led at halftime.
NOTES: Milwaukee F Khris Middleton left in the first quarter after twisting his ankle, but returned in the second. . O.J. Mayo, who had missed nine consecutive games with what the Bucks termed "illness/conditioning," was expected to play limited minutes but remained on the bench the entire game.