If it really _is_ a system problem (and it sounds like it), you could clean install the original operating system, update it to the latest available online updates (Software Update) and then bring back your data from a backup. If it's the harddrive failing, the same would apply for a new harddrive. The MacBook, luckily, is one of the easiest Macs to replace a harddrive in.