Based on a Umarex RO 72 Panther air pistol. I scratch built the scope from plastic tubing, brass and milliput, side plates and detailing from aluminium, and the end sighting/heat sink from aluminium tube, styrene and a plastic connector from an old vacuum cleaner.
More from Star Wars: Episode VI - Return of the Jedi (1983)