Court records obtained by 12News show the gun had a device that could have turned the semi-automatic weapon into a full-capacity machine gun.