Slang is funny! The way to capitalize on this funny is to introduce a hip, streetwise character who speaks entirely in a ridiculous urban dialect that is almost (or entirely) incomprehensible by the suburban "honkeys" at whom the show is aimed.
Generally, any slang involved will be at least five years out of date (or more), because it takes about that long for it to bubble up (or sink down) to the TV writers, and because of delays in the production process. It will also be toned down to remove profanity and vulgarities, to avoid upsetting Moral Guardians.
For extra comedy, the character who speaks in slang should be for some reason unable to stop speaking in slang, as if it were a foreign language. He'll insist on speaking only in impenetrable slang even in contexts where even the least streetwise punk would realize he'd get farther if he lightened up a bit.
The lightest form of this will involve a character trying to high-five a "square" (or some other "hip" handshaking alternative), who has no idea at all how to return the gesture or does know but finds it ridiculous and annoying and only returns the gesture to avoid being rude. This at least is Truth in Television.
For extra bonus points:
Have a "square" try to speak slang, and have it sound comical, forced, and incorrect.
Have an unlikely character be fluent in slang.
Have the slang-speaker actually call the square a "Jive turkey".
Generally, by the end of the episode, our hero will have gained a new respect for the slang-speaker, and the last line of the episode will be the hero using some line of slang correctly, demonstrating that he is now hip to their jive, homies.
If hip streetwise folks ever spoke like that, they certainly don't now. Because the speakers are generally of a darker complexion than the non-speakers, this probably feeds the stereotype that persons of color are inarticulate (and that white persons are tongue-tied and boring), even though street lingo can be quite elaborate. (Indeed, Muhammad Ali is universally recognized as one of the most eloquent athletes of his generation, inspiring a lot of modern-day Trash Talk.) Thankfully, this is now a Discredited Trope. Unfortunately, it proves to be quite the resilient Undead Horse Trope and is still actively used in sitcoms and kid shows.
Compare Totally Radical when the writers use outdated slang to appeal to a younger demographic and Speaking Like Totally Teen when a character uses outdated slang to sound cool and fails. Also see Pretty Fly for a White Guy. Often afflicts a Disco Dan. Not to be confused with Buffy Speak.