In California you have to buy serial numbers from the government, even if the manufacturing is just for personal use. There's also laws that make it illegal to make guns out of certain materials, and any pistol/handgun is basically required to be single shot/bolt action.