I hate to tell you, but passing gun laws aren't really going to stop attacks like this. Think of Charlottesville. That was not just a deadly terror attack, but it was done by a drive-in and not by a shooting. Criminals will always find a way around.
Not to mention the Melbourne Car Attack that was this year (I'm pretty sure). Killed five or so people. Then there was the London Bridge Attack that was a few months ago.
Crazy, scary world we live in, huh?