So, here is the current code to clone ONE object with the private module:
local module = {}
password = 12345
function module.ReturnTheThing(argument)
if argument == password then
return script.Script:Clone()
end
end
return module
I then tried to clone another thing by this:
local module = {}
password = 12345
function module.ReturnTheThing(argument)
if argument == password then
return script.Script:Clone()
return script.Part:Clone()
end
end
return module
It didn't work

1 comment
Note that this isnt actually a fully functioning script.. The first line is supposed to be part of the module script