YouTube shooter Nasim Aghdam’s brother lashed out at police in Mountain View, California, accusing them of being responsible for her suicide after she shot three people at the company’s headquarters, according to a report.

“They didn’t do anything and she got killed and three or four more people got hurt. I did the best I can to avoid it but the cops didn’t do their job,” Shahran Aghdam told the Mercury News.

Nasim Aghdam’s family accused police of ignoring their warnings about the unhinged woman and failing to prevent her attack — but police have said she appeared calm 12 hours before the incident.

“It was a very normal conversation. There was nothing in her behavior that suggested anything unusual,” Mountain View Police Chief Max Bosel said about the 20-minute chat between his officers and the woman after they found her asleep in her car in a Walmart lot.

The relatives last saw Aghdam — who lived with her grandmother in San Diego — on March 31, reported her missing Monday and filed an “at-risk” report with the San Diego County Sheriff’s Office.

A sheriff’s office spokeswoman said the family did not say if they were worried that Aghdam posed a threat to anyone.

Shahran Aghdam said he was particularly concerned when he found out his sister had been contacted by police in Mountain View, which is near the YouTube headquarters.

“We called the cops again (Tuesday) and told them there is a reason she went all the way from San Diego to there so she might do something,” he said.

“I didn’t know she has a gun. I thought she might go there and start a fight or something and then the cop told me he would keep an eye on her,” he told the Mercury News.

Meanwhile, Aghdam’s family released a statement expressing their sadness over the shooting.

“Our family is in absolute shock and can’t make sense of what has happened yesterday.

“Although no words can describe our deep pain for this tragedy, our family would like to express their utmost regret, sorrow for what has happened to innocent victims,” the family said, according to the Mercury News.

“We are praying for speedy recovery of the injured and ask God to bestow patience upon all persons hurt in this horrific, senseless act.”