The man accused in the then "largest single murder in Spartanburg County" has pleaded guilty to killing five people in 2022.