A pair of customers legally carrying guns held an attacker at a York County, South Carolina, car dealership at bay until police could arrive, prosecutors said in court.