2016 MTV Movie Awards - ShowThe 2016 MTV Movie Awards aired on Sunday, featuring a tribute to Will Smith, who took home the prestigious (for MTV, anyway) Generation Award. Before Smith collected his golden popcorn statuette from presenters Halle Berry and Queen Latifah, The Lonely Island serenaded the star with a medley featuring some of his greatest hits.

In true Lonely Island fashion, the stunt was both goofy and infectious, paying tribute to Smith while also having fun with his ever-evolving musical styles (and fashion sense -- shout-out to the one-strap overalls) from the late '80s through the late '90s. The trio -- Andy Samberg, Jorma Taccone, and Akiva Schaffer -- sang and danced their way through tunes including "Parents Just Don't Understand" and "Summertime" (Smith's breakout songs -- when he was known as The Fresh Prince -- with DJ Jazzy Jeff), the theme song from "The Fresh Prince of Bel-Air," the "Men in Black" title track (accompanied by some well-timed handclaps), and "Gettin' Jiggy Wit It."

It's a testament to Smith's infectious earworms and enduring musical legacy that each song elicited a huge response from the crowd (especially the latter two tunes), despite none of them being released this century. Check out the clip above, and just try to prevent yourself from gettin' jiggy in front of your computer screen. (Spoiler alert: It's impossible.)

Photo credit: Getty Images