I have a main "Server" script, in this script I require a module and call a function within it. When I do this I get the error: "attempt to call a nil value". The function inside the module just prints "hi".
local ServerScriptService = game:GetService('ServerScriptService') local ModuleScript = require(ServerScriptService.ModuleScript) ModuleScript:TestFunction()