Doormen at a Blackpool nightspot decided to search a teenager after spotting him behaving bizarrely on the dancefloor.
Jordan Latham was found with a large bag of the drug known as bubble and had six small snap-bags of the drug in his sock.
Latham, a 19-year-old telesales worker, of Salcombe Avenue, Bispham, pleaded guilty to possessing the drug with intent to supply it.
He was sentenced to serve 15 hours at an attendance centre and ordered to pay £85 costs plus £60 victims’ surcharge by Blackpool magistrates who also ordered the destruction of the drugs.
Tracy Yates, prosecuting, said the incident happened on November 9 at about 1am.
Doormen at the Revolution bar, in town centre Blackpool, became suspicious of Latham’s behaviour on the dance floor, leading to the search.
And he was found bubble on him when he was searched.
Martin Hillson, defending, said Latham had been naive and stupid.
He and a group of friends had pooled their money to buy the drugs.
Latham had held the drugs to hand out if any of the group wanted to use some.