Just use CompileFile and pcall, as long as your base code is fine you will catch the errors before they are sent to the server.