A thief in Florida used a fake gun to rob a store and got handed a painful lesson via a real one.

24-year-old Jarell Blackmon, around 2:25 a.m. on Friday, entered a store while wearing a camouflage hat and scarf over his face.

He approached the store’s cashier, 20-year-old Abed Alslaq, who asked him to remove the scarf. He refused and then pulled out the fake gun.

He then went behind the counter and grabbed money and 10 cartons of cigarettes before walking out of the store.

While trying to get away, he was hit in the neck by the bullet fired from the gun of that same cashier.

Blackmon was arrested by Pensacola police and charged with armed robbery, grand theft, wearing a mask or hood during commission of a felony, possession of a firearm by a convicted felon, and resisting without violence.

He was taken to a nearby hospital, then was booked into jail.

Abed Alslaq wasn’t charged.