A Florida man with a gun was arrested for threatening to kill cops at the Port Authority bus terminal, authorities said Thursday.

Hunter Taylor, 18, was charged with making a terroristic threat, criminal possession of a weapon, and unlawful possession of marijuana, according to the Port Authority Police.

Taylor was busted after he allegedly showed someone the gun inside his bag and told them he wanted to kill officers at about 4 p.m. Wednesday, according to the Port Authority.

A witness alerted cops, who then searched Taylor’s bag. They found a .38 caliber revolver, police said, and a small bag of what appeared to be marijuana.