Nine people died at the scene from gunshot wounds and one woman died while being transported to the hospital, prosecutors said.