A pedophile who pretended to have sex with a 14-year-old boy was caught.