A 19-year-old from Warrensburg could spend the next 30 years behind bars after he admitted that he had been attempting to sell child pornography.