A man in Florida was arrested on Friday after investigators were alerted to text messages in which he allegedly detailed plans “to shoot as many people as he could in a large crowd,” according to a local sheriff’s office.

Tristan Scott Wix, 25, of Daytona Beach, was charged with making threats to commit a mass shooting, the Volusia County Sheriff’s Office reported.

In one text, he allegedly indicated he wanted his shooting to break a world record.

ARREST MADE IN DECADES-OLD FLORIDA RAPE AFTER VICTIM REMINDS POLICE ABOUT CASE

It was unclear who Wix was texting when he allegedly made the threats.

Investigators found Wix on Friday in a supermarket parking lot in Daytona Beach Shores where they took him into custody, according to the sheriff’s office.

FLORIDA MAN DUMPED DIRT ON GIRLFRIEND'S BORROWED CAR WITH FRONT-END LOADER: POLICE

During an interview, Wix told detectives he did not own any firearms but was fascinated with mass shootings, the office added.

Tristan Scott Wix was arrested Friday.

Tristan Scott Wix was arrested Friday. (Volusia County Sheriff's Office )

Sheriff’s detectives were in the process of obtaining a search warrant for Wix’s home on Friday, officials wrote in a Facebook post. It was not immediately known what was found.

Volusia County Sheriff Mike Chitwood credited Wix's ex-girlfriend for alerting deputies, Fox 13 reported.

CLICK HERE TO GET THE FOX NEWS APP

"She did what we beg people in the community to do - see something, say something, and let us take it from there," Chitwood added.

Wix was being held at the Volusia County Branch Jail without bond.