I have no clue why this is erroring if anyone could help me, would be much appreciated.
-- This is a OrderedDataStore
function copInfo:createProfile(p, username, password)
local newTbl = {username, password}
newTbl = http:JSONEncode(newTbl)
pcLoginDs:SetAsync(p.UserId, newTbl) -- LINE 178
end
copInfo:createProfile(plrs:WaitForChild("papasherms"), "test1", "test2") -- LINE 181
ERROR: 103: string is not allowed in DataStore Stack Begin Script 'ServerScriptService.mainScript', Line 178 - method createProfile Script 'ServerScriptService.mainScript', Line 181 Stack End
