so i made 2 module scripts
here's the code:
local base = {}
base.__index = base
base.Number = 5
function base:New()
local t = setmetatable({}, self)
t.__index = t
return t
end
return base
second:
local base = script.Parent.Base
local child = require(base):New()
return child
this one is normal script:
local child = require(script.Parent.Child1)
print(child.Number)
and i get this message after i try executing it
stack begin script 'ServerScriptService.Script', Line 1 Stack End
it should've executed "5" but its not working and i don't know why