A man police say attempted to kidnap two children from a park in Maysville, Kentucky, has been sentenced to prison.