A man caused fear in Fleetwood when he was seen walking about the port with a machete.
A number of people saw Kyle Ferguson and another man call several times at an address in Lingfield Road, a court was told.
The door was answered by a woman and both men made threats saying: “Tell Bobby he’s dead.”
Ferguson, 23, of Belmont Road, Fleetwood, pleaded guilty to affray, possessing a machete as an offensive weapon and abstracting electricity.
He was remanded in custody for sentence at Preston Crown Court on July 2 by Blackpool magistrates.
Martine Connah, prosecuting, said the offences took place on June 3 this year.
She said an Astra with four men on board, including Ferguson, was seen by various witnesses in Lingfield Road.
Ferguson got out carrying a machete and went to an address with another man, where threats were made.
Police later went to Ferguson’s home where police found the machete in a bedroom on top of a baby seat and an officer noticed the electricity meter had been by-passed.
Hugh Pond, defending, said he would not make a bail application for his client at this stage as the Crown Prosecution Service had indicated it would appeal if he was granted bail by the magistrates.
Mr Pond added that a bail application for Ferguson would be made when he appeared at crown court.