A teen who threatened to “shoot one of these” cops at New York's Port Authority Bus Terminal Wednesday was arrested after a homeless man turned him in, sources said.

Florida resident Hunter Lee Taylor, 18, was allegedly smoking marijuana with George Pugh in the terminal at about 4 p.m. when Taylor motioned toward a PAPD cop and said, “I’d like to off that guy,” according to PA sources.

“I was hanging out with the guy. He told me he wanted to shoot a cop,” Pugh told The Post. “I didn’t believe him. Then he showed me the gun.”

Pugh said that he immediately found the nearest PA officers.

“I told them what the guy said and they grabbed him right away,” Pugh said.

Cops said they found a gun in Taylor’s bag. He was facing charges of possession of a firearm and making a terrorist threat.

Click for more from The New York Post.