Nicki Minaj delivers an epic performance at the halftime of a basketball game in Katy Perry's new video for "Swish Swish," a track the Young Money artist also lends her vocals to. Check it out below.

In the zany new Dave Meyers-directed visual, which features appearances from NBA legend and current basketball commentator Bill Walton and actor Terry Crews, Perry plays for the Tigers who find themselves taking on the Sheep. Throughout the whole video, we see all sorts of Space Jam-esque imagery, like Perry being suspended in the air for a jump ball, or launching herself 30 feet above the rim for an emphatic dunk. At the end of the vid, Crews, who plays the role of a coach, has his head explode. There's a lot going on.

For her part, Nicki definitely looks the part of a true headliner as she stands in the center of the court at halftime. Rocking a visor as a steady stream of bright lights stream down upon her, it's pretty much Nicki in her element. On the track itself, she throws some shade at anyone who dares throwing shade in her direction.

“Pink Ferragamo sliders on deck/Silly rap beefs just get me more checks/My life is a movie, I’m never offset / Me and my amigos, no, not Offset,” Nicki spits on the track, referencing the Migos. Perry dropped a Migos collab called “Bon Appétit” this past spring.

Check out the visual for "Swish Swish" below.

See Photos of Nicki Minaj's Different Looks Over the Years

More From XXL