So I have a localscript invoking a remote function, the script should return a table but instead get the error "keys must be strings" i'v never seen this type of error before. Both the localscript and script require the table for it to work.
Inside the localscript: (ERROR HERE)
local Settings = Cheats.GetSettings:InvokeServer()
Inside the script:
local Settings = {
["Admins"] = {
[74629147] = true,
},
["USER ID"] = true,
["USER NAME"] = true,
["FOG"] = true,
["GOD MODE"] = true,
["MAX HEALTH"] = 100,
["FORCEFIELD"] = true,
}
GetSettings.OnServerInvoke = function(Plr)
return Settings
end
Anyone know a solution?

2 comments
What does "Script Analysis" say? And which script exactly says the error?
It's the localscript that gets error. And Script Analysis doesn't say anything.