#Data store service help

2 messages · Page 1 of 1 (latest)

winged turret
#
local DSS = game:GetService("DataStoreService")
local PlayerData = DSS:GetDataStore("PlayerData")

local Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(player)
    local data = PlayerData:GetAsync(player.UserId) or {}
end)```
Is this safe to do? or is there a big risk player data is wiped
#

specifically or {}