you really wouldn't need to try and take the guns. the vast majority of people would voluntarily turn them in as opposed to doing jail time. this would take a huge number out of circulation. also, outlaw the sale of the bullets.
the goal is to not cause an immediate elimination of mass shootings, but a gradual one.