Ok well there is unbearable lag in my game and i run it on a shell server but when i contact the owner he says there is nothing wrong with it and its my game.

The Server just got switched recently and thats when the lag started but he said it was a error in my game that is making it lag

so i wanted to know is there a such error and if there is how do i fix it
Fix any runtime errors and/or compile-time warning.

Chances are you have infinite loops going on without any delays - which can be one explanation. Maybe you should world profile?