DataStoreError, makes no sense?
Asked by
6 years ago Edited 6 years ago
I have no clue why this is erroring if anyone could help me, would be much appreciated.
3 | function copInfo:createProfile(p, username, password) |
4 | local newTbl = { username, password } |
5 | newTbl = http:JSONEncode(newTbl) |
6 | pcLoginDs:SetAsync(p.UserId, newTbl) |
9 | copInfo:createProfile(plrs:WaitForChild( "papasherms" ), "test1" , "test2" ) |
ERROR:
103: string is not allowed in DataStore
Stack Begin
Script 'ServerScriptService.mainScript', Line 178 - method createProfile
Script 'ServerScriptService.mainScript', Line 181
Stack End