Rui portion would come after the rest.
This nets the a Bucks another top 10 pick this year giving then a solid foundation to begin building with, Christie a good young player, and a ton of draft capital. They do right by Giannis and set themselves up for a rebuild.
Lakers get a reliable shooter on a 1 year deal as Rui chooses to leave.
The Mavs get Giannis giving them Ky, Martin, Flagg, Giannis, Lively, Marshal to build out the roster. Plenty of more assets to use to figure things out and a solid chance and making a push immediately. Giannis gets to play for Kidd and Ujiri who he's close with and may convince Middleton to resign as well.
The Blazers get front court depth while shedding a big salary
Warriors turn dead contracts into 2 starters for them.