Skip to main content

Troubleshooting

Init's errors start with [Init] and name the module and method.

You seeWhyFix
Network is not a valid member of ReplicatedStoragea boot script names a folder that doesn't existmake the folder, or remove the entry
... must return exactly one valuethe module doesn't end with returnadd return MyModule at the bottom
X:Init() didn't finish within 3sInit is waiting (WaitForChild, a DataStore, another module)move the waiting into Start
X:Start() didn't finish within 15sStart waits a long timefine if intended (it keeps running); otherwise task.spawn the loop or raise StartTimeout
X:Init() errored: ...a bug in Initfix it; that module won't Start until then
Two loaded modules are named "X"two modules share a namerename one; both still run
Init.start was already calledtwo boot scripts on one sidekeep one InitServer and one InitClient (the old ReplicatedStorage.Init boots too, see Migrating)
"X" isn't a settinga typo in the settings tablecheck Settings

A module never runs​

  • Its name doesn't match the entry's predicate: Coins isn't loaded by matchesName("Service$"); name it CoinService.
  • It's inside another ModuleScript. Only top-level modules (folders are fine) load.
  • It has the Ignore attribute.
  • It's in a folder no entry lists, or on the wrong side (a Controller in ServerScriptService).
  • Turn on Verbose = true to see every module Init loads.

Nothing prints at all​

The boot scripts aren't running: InitServer must be a Script in ServerScriptService and InitClient a LocalScript in StarterPlayerScripts, both enabled.