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

1 comment
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