i writed something that make a datastore called files and then save it as a table then i use a remote event to call the script(from localScript) to set a variable somewhere as the table returned from datastore then when i play it return [table: 0xf3944fdf4f1f4a24] to me can anyone help??
LocalScript:
local Tables = require(game.ReplicatedStorage:WaitForChild("Tables"))
wait(1)
game.ReplicatedStorage.GetAsync:FireServer()
local T = Tables:GetGA()
print(T)
ModuleScript
local Tables = {}
local GetAsync = {}
function Tables:SetSG(T)
GetAsync = T
end
function Tables:GetGA()
return GetAsync
end
return Tables
thanks