Unfortunately you can't just legislate it away. That doesn't work, has never worked, and will never work. Doesn't stop them from trying, though.
I'm not going to get into it beyond that though - I'm not an expert, but it doesn't take an expert to recognize that something is broken. I really don't think just taking them away is the answer. As other incidents have spotlit, the act will not change, only the tools. Children (and adults too) committing violence against their peers and authority figures is the symptom, the gun (or knife etc) is just the vehicle, and the real problem is something else that I can't really identify personally. People are losing hope, getting restless, frustrated, and angry. We need to determine (and fix) the cause of that, not the results. But good luck with that, because the people in charge only care about looking like they are fixing things. Which only compounds the problem.