NORTH CHARLESTON, SC (WCSC) - Investigators say a man who was dumpster diving outside a strip club was accidentally shot while playing with a gun.

North Charleston police say it all started when the victim, along with three other people, were searching through a dumpster at the Generation X Cabaret on 7219 Cross County Road.

According to a report, the victim and another male subject then started playing around with a gun.

The gun then discharged striking the victim in the abdomen, police said.

Police initially responded to the McDonald’s in the 2500 block of Ashley Phosphate Road for a man who was dropped off there with a gunshot wound around 8:30 a.m., according to police spokesman Spencer Pryor.

Officers found a man and woman walking next to a Fairfield Inn with the car that the victim was transported in.

Investigators say the people involved came up with a story of the victim being shot during a robbery and planned to drop him off at the McDonald’s.