Correlation is not causation. Read the AWB. There’s nothing in the bill that would prevent mass shootings.
My understanding is that it was quite effective and no one reversed it, rather, the law was written to only be in effect for 10 years, then the law expired because Congress did not renew it. If someone has good sources on this though (it’s effectiveness, ineffectiveness, whatever), I’m very interested to read more about it.