Few could have written a better script for the ending of Sunday night's game between the Oklahoma City Thunder and the visiting Orlando Magic. After an offseason trade that sent Victor Oladipo, Ersan Ilyasova (who himself was later traded to the Philadelphia 76ers) and Domantas Sabonis to the Thunder in exchange for Serge Ibaka, the latter made sure his return to OKC was capped off with a bang.

Despite trailing early, Russell Westbrook willed his team back into the game with his third triple-double of the season to the tune of 41 points, 12 rebounds, and 16 assists – but it was his former teammate who had the play of the game.

Ibaka gave Orlando a 119-117 victory on a baseline jumper with just 0.4 seconds left in regulation.

Live and breathe sports?

🚨 Get viral graphics, memes, rumors and trending sports news delivered right to your inbox with the Clutch Newsletter.

Serge Ibaka's winning shot gave him 31 points for the game to go along with nine rebounds and four crucial blocks.