Dave Chappelle's Hollywood Bowl performance Tuesday night came to a temporary screeching halt when someone rushed the stage and attacked the comedian, and it was especially scary because we've learned the guy pulled out a gun.

It went down toward the end of Dave's show -- part of the "Netflix Is A Joke" festival -- when a man in the audience somehow got on stage and manhandled Dave, tackling him violently and slamming him on the hard stage.

Law enforcement tells TMZ, the attacker actually pointed the gun at Chapelle as he rushed him. We're told the gun was not real, it was a replica of a semi-automatic. It also weirdly had a knife attached to the gun.

SUBSCRIBE: http://tmz.me/wONe5NO

About TMZ: TMZ has consistently been credited for breaking the biggest stories dominating the entertainment news landscape and changed the way the public gets their news. Regularly referenced by the media, TMZ is one of the most cited entertainment news sources in the world.

Subscribe to TMZ on YouTube for breaking celebrity news/ gossip and insight from the newsroom staff, the best clips from TMZ on TV, Raw & Uncut TMZ video (from TMZ.com) and the latest video from TMZ Sports and TMZ Live!

We love Hollywood, we just have a funny way of showing it.

Need More TMZ? TMZ Website: http://tmz.me/fPrTwZt LIKE TMZ on Facebook! http://tmz.me/9sGB00a FOLLOW TMZ on Twitter! http://tmz.me/9LeeNWQ FOLLOW TMZ on Instagram! http://tmz.me/ep7d8Bn TMZ on TV & TMZ Sports on FS1 Tune In Info: http://tmz.me/ccuirUZ TMZ is on iOS! http://tmz.me/ecOjgiH TMZ is on Android! http://tmz.me/pkwieRA

Got a Tip? Contact TMZ: http://tmz.me/UsxYCvE

Check out TMZ Live, TMZ Sports and toofab! TMZ Live: http://tmz.me/GxCXCfl Subscribe! TMZ Live: http://tmz.me/cLxA82p TMZ Sports: http://tmz.me/jMBERbb Subscribe! TMZ Sports: http://tmz.me/jMBERbb Toofab: http://tmz.me/dsXztns Subscribe! toofab: http://tmz.me/VeVLMmi

https://www.youtube.com/c/TMZ