A witness to Tuesday's shooting at YouTube's headquarters told the media he wished he had a gun as he heard the gunshots firing nearby.

The man was being interviewed by a reporter from KTVU, Fox's station in the San Francisco Bay area, when he recounted how he wished he was armed for his own sake.

The witness was saying how he heard the series of shots and helped tend to a victim who was able to get across the street to a Carl Jr.'s restaurant and then back out to try to figure out what was going on.

The KTVU reporter asked the man what was going through his mind during the chaos. He said that he knew he had to be "smart" so he wouldn't be harmed himself, but he wished he had a gun on him.

"I didn't have a gun on me, but wish I did," the man said to a crowd of reporters.

The shooter, a woman, injured three others at YouTube's headquarters before she killed herself.