Mass shootings have nothing to do with gangs.
That said, it's absolutely disingenuous for 2nd Amendment advocates to point fingers at marginalized groups (trans, the mentally ill, POC, etc) as the reason for mass shootings. This is a standard Conservative trope; point fingers at 'the others' in order to ignore the root cause of the issue which would most certainly reduce the severity and frequency of these happening in the US.