Hello have probleme this my Datastre obtain error always time
obtain ErreurArgument 2 missing or nil
my code is on pastbin https://pastebin.com/tPvBtHuR
local succes , err = pcall(function() -- Pcall
local key = ("user_" .. Player.userId)
local Data = PlayerData:UpdateAsync(key)
if Data == nil then
Data = DefaultData
end
PlayerData:SetAsync(key) -- Save
end)
if succes then
print ('Succes'..succes)
end
if err then
print ('Erreur'..err)
end
end
'Erreur '..err.) - greybeard