A cashier at a Pittsburgh market scared off two would-be robbers Friday night with a sword, according to police.

Two juvenile boys ran into Perry Market shortly before 10 p.m., one of whom went behind the counter and demanded money, police said.

"He was like, 'Stay away. Give me money. Give me money,'" M.C. Hydare, the brother of the cashier, told WPXI.

>> Read more trending stories  

The other juvenile was stopped and held by a customer.

Investigators said that the juvenile who went behind the counter brandished a large silver knife that was more than one foot long. That's when the cashier pulled out the sword to defend himself and chase off the juveniles.

"He had a sword, so he just removed the sword and attacked him. Then when he hit the sword that the dude had in his hand -- my brother hit the sword -- he ran away," said Hydare.

The juvenile ran and grabbed several T-shirts, which he dropped upon running into the other juvenile, police said. Both of the juveniles, whose faces were hidden, were able to get away.

"I just want to give a message to them: Don't try this. You can have money in a better way. Not this," said Hydare. "Please stay away. Go and find work somewhere."

The juvenile who was held by the customer is described as being about 6 feet tall and weighing about 160 pounds. He was wearing a hooded sweatshirt with the hood over his face and black pants. He also had a large silver knife and a black backpack with white and red on the straps.

The second juvenile was wearing a red ski cap that had a white stripe around it, a black spandex-type shirt and black pants.

Police continue to investigate.