I found out how to fix this! All you have to do is reinstall Matlab. Make sure that all files are saved before you reinstall and it should fix the livescript problem. To delete matlab all you have to do is drag the matlab icon from the applications folder to the trash bin then reinstall. Hope this helps!