Japan has one of the lowest rates of gun violence in the entire world, so yes it does work. They had 1 death due to firearms in 2021, and the US had over 45,000. So you tell me does it work?
The issue here is the shooter who was ex-military had the knowledge to create his own improvised but...