Texas teenager is accused of shooting two of his classmates at a high school, and police say he was inspired by YouTube videos.

Dylan McBride, 18, of Austin, posted a video on YouTube in April 2016, in which he showed himself driving his friend to the school and shooting two people, according to a criminal complaint obtained by News 2.

The shooting, which occurred on May 3, was captured on surveillance video.

According to the complaint, McBride told a teacher that he was doing it for the same reason he was shooting at his classmates, to show he was a better driver than the students.

In the video, McBrides mother, Lisa McBride of El Paso, is heard saying that Dylan is “not scared” of people, and she told a police dispatcher that he is “going to get the hell out of here,” the complaint said.

The complaint says McBride was not arrested for the shooting.

He was charged with two counts of aggravated assault and one count of aggravated murder.

McBride’s lawyer, Andrew Dickson, told News 2 that McBride has been “disturbed” by the allegations and that McBride has not seen the video.

Dickson said the video showed McBride shooting people in the head, chest, stomach and arms.

McBriders attorney, Dickson said he was “not at liberty” to discuss the video because the indictment is sealed.