Some kind of goofy prop gun? Look at the position of the barrel in relation to the cylinders and hammer. How would bullets even fire from it?
To me, it looks like a piece of Rubbermaid adjustable shelf bracket welded to a piece of electrical conduit. With a electric motor armature for a cylinder.