are you execing it after the server is running? local variables exec'd in global context will instantly crash the server - this includes stuff in mods that does like %error = ForceRequiredAddon(etc); etc... since those %error values are local variables attempting to be run in the global scope. however if they're exec'd normally in the loading process by being enabled, they are fine, as addons are not loaded in global context.