Nygma retrieves his gun and confesses to the murders before they're surrounded by the GCPD including Barnes and Bullock.
Nygma retrieves his gun. Before they're surrounded by the GCPD including Barnes and Bullock. This is what Nygma confesses to the murders.