This is a rubber stunt MP5k gun used in The Green Hornet (2011). This gun is seen in the scene where Chudnofskys gang attacks Britt in the restaurant toward the end of the movie. The stunt guns wer used when a live firing gun was not needed and for actor safety.
COA: Prop Store