DataStoreKeyInfo
Overview
Properties
CreatedTime
Code Samples
local DataStoreService = game:GetService("DataStoreService")
local GoldStore = DataStoreService:GetDataStore("PlayerGold")
local success, errorMessageOrLoadValue, keyInfo = pcall(function()
return GoldStore:GetAsync(player.UserId)
end)
if not success then
print("errorMessage : ", errorMessageOrLoadValue)
else
local loadValue = errorMessageOrLoadValue
local createdTime = keyInfo.CreatedTime
local version = keyInfo.Version
local updatedTime = keyInfo.UpdatedTime
endUpdatedTime
Code Samples
Version
Code Samples
Methods
GetMetadata
Parameters
Return
Code Samples
GetUserIds
Parameters
Return
Code Samples
Events
Last updated