FX will produce a television pilot starring and co-written by Lil Dicky, the network announced today (May 31). Kevin Hart and Dicky's manager Scooter Braun are signed on to executive produce, as is The League creator Jeff Schaffer, who co-wrote the pilot with Dicky. Superbad director Greg Mottola has also signed on to direct the comedic pilot.

The show is based on "a suburban neurotic man in his late 20s who has convinced himself that he's destined to be one of the best rappers of all time," according to The Hollywood Reporter. Some take that to believe based off the description that the script is partly based on Dicky's real life.

The deal extends a breakout year for Lil Dicky. "Freaky Friday," the Pennsylvania artist's latest single with Chris Brown, debuted in April at #8 on the Billboard Hot 100, becoming Dicky's first Top 10 song, and its accompanying video has surpassed 268 million views. The rapper released his debut album Professional Rapper in 2015. He also recently appeared in Trill Sammy's "Nah Foreal" video, in which he plays a cop harassing Sammy.

The pilot order follows the success of FX's critically acclaimed show Atlanta, created by and starring Donald Glover, which also traces the story of an aspiring rapper. Apparently the network sees potential in telling more stories about hip-hop. It should be interesting to watch Dicky's take on the subject.

Behind the Scenes With Lil Dicky at the 2016 XXL Freshman Shoot

More From XXL