Police in Burton-upon-Trent have appealed for information after three attacks in which airguns were fired at people from a passing car.
Staffordshire Police say the pellets can cause serious injuries
Two men were hit in the head and needed hospital treatment after being struck by several pellets on Tuesday night and the early hours of Wednesday.
The third victim was hit but not injured. Staffordshire Police said they "could easily have been blinded".
Up to four people, described as Asian, fired from a silver-coloured car.
Police are also appealing for anyone who saw anything suspicious at any of the locations to come forward.
The three incidents happened in the Princess Street, Branston Road and Uxbridge Street areas.
In the first incident, a man in his 30s needed hospital treatment after being hit by at least two pellets, said police.
Later, a 52-year-old man walking in Branston Road near the Sportsman pub at 0030 BST suffered a head wound after being hit by at least four pellets.
In the third incident, a man in his 50s reported that six shots from an airgun were fired at him from a passing car. He was not hurt.
Police say the incidents are linked and want to find the offenders before someone is seriously injured.
Detective Sergeant Paul Downing of Burton CID, said: "These victims could have suffered extremely serious injuries and could easily have been blinded.
"The attacks appear to be random and we are appealing for help from the community to help us trace these offenders before someone is badly hurt."