Make sure everyone here uses the latest version of the Mojave patcher for 10.14.5 from dosdude’s website. Don’t use any old links posted in this guide. (I just updated the link in the guide to the latest version as of now.)
If it’s a white MacBook you can hack Mountain Lion and maybe even later with the OS X Hackers tools (which I’ve never used.) If it’s an aluminum 2008 MacBook, it is compatible with the Mojave patcher.