Don't count on the father anymore. If the father wants to see the kid, let him see the kid several hours per week. As far as the child is not spending 24x7 with him, he won't have too much influence. Tell child the truth about the father, calmly. At least, there is a good example on what not to do.
I know, it is easy to say but difficult to do. However, you don't have much choice. You also do not have much time to waste on him. Good luck!