I have a script that handles player data and it works. However , all of a sudden the script breaks at require() with no errors or anything. It is something like this:
local Players = game:GetService("Players")
print(0)
local SSS = game:GetService("ServerScriptService")
print(1)
local PlayerDataModule = require(SSS.ModuleScripts.PlayerDataModule)
print(2)
the print(2) doesn’t run, meaning that the require is stopping the script for some reason did I do something wrong?.
Well, you probably need to check that module you’re requiring as there might be something that runs upon requiring the module (e.g. a loop) which is yielding your script.