Hey there,
My main round module seems to not be working; when i try and call a function by using module.deleteMap(), i get the error "deleteMap is not a valid member of ModuleScript “ServerScriptService.modules.MainModule”
Any help is always appreciated!
Thanks, Kieran.
Can I see inside the module script?
Seems like you did not require the ModuleScript. This is how you do it:
local module = require(game:GetService("ServerScriptService").modules.MainModule)
Based on the error, what I can say is how you declared module is:
local module = game:GetService("ServerScriptService").modules.MainModule
Oh yes! Thank you, i forgot to require it.