1pcall(function()
2 ContentProvider:PreloadAsync(Thing,function() end)
3 DataStore:SetAsync(UserId, Data)
4 local Thing = DataStore:GetAsync(UserId)
5end)
6
1local data
2local success,errmessage = pcall(function()
3 data = getasync(yoursave)
4end)
5if success then
6 intvalue.Value = data or starterdata
7end
8--just an example
9