Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I am trying to get help for this errror on the save char script any one?

Asked by 7 years ago
    17:01:08.767 - Workspace.Datastore:32: bad argument #1 to 'pairs' (table expected, (error)

-- Function to retry the passed in function several times. If the passed in function -- is unable to be run then this function returns false and creates an error. local function dataStoreRetry(dataStoreFunction) local tries = 0 local success = true local data = nil repeat tries = tries + 1 success = pcall(function() data = dataStoreFunction() end) if not success then wait(1) end until tries == DATASTORE_RETRIES or success if not success then error('Could not access DataStore! Warn players that their data might not get saved!') end return success, data end

now this is only error I accidently deleted last Post I apoglize

0
Please put your code inside a Code block( that little blue button that says Lua) if you want to have any hope of getting an answer Nogalo 148 — 7y

Answer this question