YouTube user ferlessleedr made a functional Portal gun out of LEGO:
The gun took about a year to plan, three weeks to build, and is just under 2,000 pieces. It has a LEGO Mindstorm controller stuffed inside, so the prongs can be opened and closed via a switch, as well as some light-up effects.
Check it out at Geekologie: Link