Ersan Ilyasova scored 21 points and the Milwaukee Bucks clinched a playoff spot with a 96-73 victory over the Brooklyn Nets on Sunday.

MILWAUKEE (AP)—The rebuilding plan is way ahead of schedule for the Milwaukee Bucks.

A year after a franchise-worst 67-loss season, the Bucks are headed to the playoffs.

Ersan Ilyasova scored 21 points and coach Jason Kidd's team relied on defense in a 96-73 victory over the Brooklyn Nets on Sunday that wrapped up the playoff spot and the sixth seed in the Eastern Conference.

• MORE NBA: Jabari Parker's road to recovery | Playoff matchups | Top plays

"To be honest, I always believed we could do better. But I didn't know if we could go from 15 wins to get 40," said Giannis Antetokounmpo, who finished with 13 points.

The athletic 20-year-old forward is one of the big reasons why the Bucks are the first team since the 2008-9 Miami Heat to make the playoffs a year after having the NBA's worst record.

[daily_cut.NBA]"Our goal was to go to the playoffs, from Day 1. Everybody believed in it. I started believing in it and we made it," the 6'11" Antetokounmpo said.

O.J. Mayo added 17 points for the Bucks, who held Brooklyn to 32 percent shooting. It was season-low for points for a Bucks opponent.

Brook Lopez had his 17th double double of the season with 12 points and 10 rebounds for the Nets. They are tied for eighth with Indiana—a winner over Oklahoma City later Sunday—in the East, a game behind Boston. The Nets have the tiebreaker over the Pacers.

Brooklyn has two games left, starting with Chicago at home Monday night.

"We have to forget about this one," forward Thaddeus Young said. "We can't even think about the next two games, we have to focus on this next one against Chicago. It's as simple as that."

Comparing Michael Carter-Williams and Bucks' Jason Kidd on the court

No need to fret any more for the Bucks, who will likely face either Toronto or Chicago in the first round.

Few—if any—NBA observers expected the Bucks to make the playoffs, let alone be competitive enough to finish with a .500 record. Not with a new coach and a young roster.

Jabari Parker, the second overall pick in the NBA draft last June, was lost for the season in December with a left knee injury. The Bucks went on a tailspin after the All Star break and trade deadline as they adjusted to the departure of leading scorer Brandon Knight and the arrival of new point guard Michael Carter-Williams.

• MORE NBA: Defensive Player of the Year options | Fundamentals | Trends

But they've settled down to go 6-4 over their last 10 games, clinching a postseason berth against the team coached by Kidd last season.

According to STATS, Kidd is the first coach in NBA history to lead two franchises to the playoffs in his first two years as a head coach.

"They do a good job of packing the paint," said Brooklyn guard Jarrett Jack said, who finished with 11 points. "Showing our pick-and-roll didn't really disrupt them in the lane."