A Texas creep harassed and played “footsies” with a woman aboard a Southwest Airlines plane this week, then screamed at attendants who confronted him, prompting the LA-to-Dallas flight to be diverted.

Justin Riley Brafford, 29, of Denton, boarded Flight 859 on Tuesday and sat in a middle seat, where he put his arm on the leg of a woman sitting in the aisle seat, according to a federal complaint viewed by Dallas News.

The woman told the FBI that she leaned away from the creep and tried to ignore him, but he got closer to her and began “playing footsies” with her, according to the report.

He then asked her personal questions, including her name and whether she would be staying alone in a hotel. And when she turned down his invitation for a date, he whispered, “Don’t (expletive) with me,” she alleged.

The horrified woman asked to be moved to another seat, but the undeterred Brafford continued to harass her and confronted her again, according to the complaint.

When the flight attendant spoke to him, he wasn’t acting “like a normal person” and launched a profanity-laced tirade, the feds said.

He seemed to go “from zero to sixty in nano-seconds,” the complaint says, leading the crew member to suspect he might have been high on drugs.

The flight attendant notified the pilot, who diverted to Albuquerque, where Brafford was taken into custody.

He told investigators that he and the woman had been watching videos on her laptop and that he thought she was flirting with him, according to the complaint.

Brafford admitted to using meth a day earlier and said he also had overdosed on heroin Saturday, according to the complaint. He also said that God had been talking to him during the flight.

He remains in federal custody and faces a felony count of interference with a flight crew and a misdemeanor assault charge.

In a statement, Southwest said: “The safety and comfort of everyone on board every operating aircraft is our highest concern.”