Laws can never prevent.

What you are talking about is the physical prohibition of a machine which can not only be duplicated, is already numerous and plentiful in society, and would be impossible to restrict without the use of guns.

When you can disarm our police and military you will have the answer to guns.  Until then, the force equation will simply require them to exist now that mankind has invented them.  There is no putting the genie back.