I want to transfer data from a Server Script to a Module Script to a Local Script. I have everything I need except for the Local Script but I'm not sure how I would do that.
Server Script
function addcmd(name,alias,perm,desc,func)
cmds[#cmds+1]=
{
NAME=name;
ALIAS=alias;
PERM=perm;
FUNC=func;
}
module[#module.commandslist] = {NAME = name, ALIAS = alias, PERM = perm, DESC = desc}
end
Module Script
local commandslist = {
commandname = {NAME = 'testname', ALIAS = 'testalias', PERM = 'testperm', DESC = 'testdesc'}
}
return commandslist
