ALL modules in my game broke?

I have no idea what happened but something like REALLY bad happened.

Basically every module in my game that I require errors for no reason that I know of?

I DONT EVEN USE SPAWN IN ANY OF THE SCRIPTS

The line it errors on is a blank line which is really something I do not get?

This worked before and I didn’t change 1 module since then

CONSOLE:
19:03:55.652 - ServerScriptService.Modules.TroopsAttack:41: ‘’ expected near ‘spawn’

  [19:03:55.654 - Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7BD3A28371%2DEB03%2D40C8%2D8276%2DB907AB0F4B24%7D&gst=3#1)

19:03:55.656 - Stack Begin

[19:03:55.657 - Script 'ServerScriptService.Events', Line 1](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7BD3A28371%2DEB03%2D40C8%2D8276%2DB907AB0F4B24%7D&gst=3#1)

19:03:55.658 - Stack End

[19:03:55.660 - ServerScriptService.Modules.DsSchema:12: '<eof>' expected near 'spawn'](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7BDDB34997%2D59DF%2D46AC%2D985A%2D29A5750C9775%7D&gst=3#12)

  [19:03:55.662 - Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7BCBA4285C%2D0F5E%2D4151%2D9AE5%2D74242748B042%7D&gst=3#1)

19:03:55.663 - Stack Begin

[19:03:55.664 - Script 'ServerScriptService.PlayerStats', Line 1](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7BCBA4285C%2D0F5E%2D4151%2D9AE5%2D74242748B042%7D&gst=3#1)

19:03:55.665 - Stack End

[19:03:57.791 - Chat.ChatModules.TeamChat:191: '<eof>' expected near 'spawn'](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B79F264C9%2D0B17%2D4DA9%2DB694%2D25394F14DC7F%7D&gst=3#191)

  [Error running module TeamChat: Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B578748BA%2D72D1%2D4308%2D9B63%2D6D3C16CFD9FA%7D&gst=3#410)

[19:03:57.795 - Chat.ChatModules.MuteSpeaker:111: '<eof>' expected near 'spawn'](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7BB4C03067%2DA7F2%2D48DF%2D9241%2D9D073B9BDC37%7D&gst=3#111)

  [Error running module MuteSpeaker: Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B578748BA%2D72D1%2D4308%2D9B63%2D6D3C16CFD9FA%7D&gst=3#410)

[19:03:57.797 - Chat.ChatModules.MeCommand:27: '<eof>' expected near 'spawn'](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7BA975CE5A%2D174F%2D429B%2DB208%2DC1E4FEA7A1CC%7D&gst=3#27)

  [Error running module MeCommand: Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B578748BA%2D72D1%2D4308%2D9B63%2D6D3C16CFD9FA%7D&gst=3#410)

[19:03:57.799 - Chat.ChatModules.ChatMessageValidator:70: '<eof>' expected near 'spawn'](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B021212F6%2DFF6C%2D479B%2D818D%2D090136252058%7D&gst=3#70)

  [Error running module ChatMessageValidator: Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B578748BA%2D72D1%2D4308%2D9B63%2D6D3C16CFD9FA%7D&gst=3#410)

[19:03:57.802 - Chat.ChatModules.PrivateMessaging:174: '<eof>' expected near 'spawn'](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B9DDE9AC5%2DD89B%2D45EB%2DA789%2D1A33F12DC7F4%7D&gst=3#174)

  [Error running module PrivateMessaging: Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B578748BA%2D72D1%2D4308%2D9B63%2D6D3C16CFD9FA%7D&gst=3#410)

[19:03:57.810 - Chat.ChatModules.FriendJoinNotifier:65: '<eof>' expected near 'spawn'](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B40EAF4CA%2D5FF6%2D4C74%2D86C2%2D91BD0FA9FBB8%7D&gst=3#65)

  [Error running module FriendJoinNotifier: Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B578748BA%2D72D1%2D4308%2D9B63%2D6D3C16CFD9FA%7D&gst=3#410)

[19:03:57.814 - Chat.ChatModules.ChatCommandsTeller:66: '<eof>' expected near 'spawn'](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7BE72241FE%2D1329%2D4A3C%2DA77B%2DFD2872916D49%7D&gst=3#66)

  [Error running module ChatCommandsTeller: Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B578748BA%2D72D1%2D4308%2D9B63%2D6D3C16CFD9FA%7D&gst=3#410)

[19:03:57.816 - Chat.ChatModules.ChatFloodDetector:95: '<eof>' expected near 'spawn'](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B5149DB65%2DB789%2D402B%2D9688%2D53EC22EFC596%7D&gst=3#95)

  [Error running module ChatFloodDetector: Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B578748BA%2D72D1%2D4308%2D9B63%2D6D3C16CFD9FA%7D&gst=3#410)

[19:03:57.818 - Chat.ChatModules.ExtraDataInitializer:197: '<eof>' expected near 'spawn'](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B30CA212C%2D0D94%2D4172%2D8F8A%2D0DF844EDCE25%7D&gst=3#197)

  [Error running module ExtraDataInitializer: Requested module experienced an error while loading](rbxopenscript://www.dummy.com/dummy?scriptGuid=%7B578748BA%2D72D1%2D4308%2D9B63%2D6D3C16CFD9FA%7D&gst=3#410)

Alright thanks hopefully it works, cause currently this has broken my whole game ;(

Can you paste the code of TroopsAttack, and highlight line 41?

It’s an empty line, same with the previous line

Have you installed any Plugins as of lately?

1 Like

Breaking


I can hear a backdoor, check your plugins.

Before we actually change the code, do they work in-game? This is a Studio session and if they don’t work in Studio only, assume a backdoor.

Otherwise, it is some sort of complete mess-up in the code by Roblox.

2 Likes

Oh no, I installed model resize plugin after deleting it a while ago yikes…

So what they did is they inserted code at the last lined tabbed so far the right it would be hard to notice. The reason module scripts errored is because you can’t have code after return. My dev downloaded a infected plugin but we fixed the issue. Anyways the account responsible for the module is deleted aswell as the module itself.

3 Likes

He’s getting a lua syntax error inside studio (so locally) “end of file expected near spawn” how can you think that is that an issue with Roblox servers?

1 Like