Michael Glen Riden, 46, of Kannapolis, North Carolina was arrested after an attempted armed robbery, according to a police report.
North Myrtle Beach police officers were called to the Dodge's Store at 2609 S. Highway 17 Saturday at 6 a.m.
A clerk said she was working the register, when a young man came into the store to buy gas.
The clerk said Riden walked into the store, stood next to the man buying gas and put a gun to his head, according to the report.
The clerk said Riden demanded money from the register, or else he threatened to shoot the man in the head.
The clerk froze and called for her co-worker, who came around the corner.
That's when Riden stopped pointing the gun at the man and claimed it was all a joke, then he left the store, according to the report.
When officers were looking through the surveillance video, they saw a truck pulling into the parking lot at the same time of the incident.
They say the young man got out of his truck, and Riden was a passenger in that truck.
North Myrtle Beach police talked to the man who was inside at the time of the incident.
He claimed he saw Riden walking in Atlantic Beach and gave him a ride "just doing a good deed for another human being."
He stopped at Dodge's for gas, and said Riden took off on foot
Riden was found later that day at an apartment complex.
Riden told police he got a ride with the young man, and they needed to get gas so they stopped at Dodge's. He said the man knew the clerk and "wanted to play a prank on her."
Riden claims the man gave him his BB gun and said they should pretend they are robbing the store, according to the report.
"It was a prank and should be handled as such, not as a crime," Riden said.
Riden is being held at the J. Reuben Long Detention Center facing charges of Attempted Armed Robbery and Criminal Conspiracy on $25,000 bond.