A Texas man thought he'd "cooked" up the perfect scam but, instead, got busted for stealing $80,000 bucks from the Chick-fil-A restaurant where he worked.

It happened at a Chick-fil-A in Grapevine, near Dallas, when a disgruntled ... that's PC talk for PO'd ex ... former employee slipped back in to the restaurant that had fired him and rang up fake orders.

He then refunded a total of 800 orders of mac 'n cheese to his personal credit card.

Pretty slick, huh? Well, it wasn't ... the restaurant noticed the fake refunds right off, hit record on their security cameras and let him do his thing.

Texas Man Used 800 Orders Of Mac 'n Cheese To Steal $80K

With the security footage in hand, (and a warrant), the cops busted Mayor McCheese ... I know, wrong fast food joint ... and off to the pokey he went. See pics here.

He was finally brought in by the Texas Attorney General’s Fugitive Task Force and the Fort Worth Police Department.  Jones faces charges of property theft, money laundering and evading arrest.

READ MORE: Weird Texas Railroad Laws

He faces up to 10 years in state prison, if convicted — where he’ll also be able to order mac & cheese, according to the menus on the Texas Department of Criminal Justice. - nypost.com

The Mac 'n Cheese Thief Got Lucky

I think he did anyway, if they really wanted to rub his face in this one; they could have also charged him with trespassing. Being that the restaurant looks empty and/or closed, they probably could have gone for breaking and entering too.

If they check the exterior cameras, they may be able to tack on jaywalking or failure to signal or something. He just committed a crime so, there could be a speeding ticket here too. Just sayin'.

10 Real Texas Laws You Won’t Believe Are On The Books

These Texas laws seem pretty weird, but they must be there for a reason, right? What on earth led to these having to be passed?

Gallery Credit: Piggie

25 True Crime Locations: What Do They Look Like Today?

Below, find out where 25 of the most infamous crimes in history took place — and what the locations are used for today. (If they've been left standing.)