Alright everyone... i found out how to fix the lag in cube world if you have a NVIDIA card and an intel. If you just have an intel... id reccomend going and buying an NVIDIA card.
So how i fixed it was this. I went to the NVIDIA control panel and went to 3d settings. You can choose which graphics card to use. Instead of messing with all that junk, i just went and you can choose which programs run which Graphics card. So i clicked add program and went to Program files (x86) and then went to cube world and clicked the cube.exe. Then make it run with the High graphics card, the NVIDIA. And WALA!! No more lag. At least this helped me.