Finished gun prefab and scripting

Gun is an item at the robot.  You can only shoot while standing on the
the ground and not moving.  The gun is a toy, but if you shoot the
robot, he'll blast you with a beam and you die.