A railgun is powered by electricity and therefore doesn't qualify as a firearm. ... Also it is NOT against the law to make actual firearms without a license, provided you are not prohibited to own firearms, and you are not engaged in business (meaning making it with the intent of selling it).