I haven’t seen any sources that say anything about the punishment you get for not removing the player form your datastore.
The only source I’ve seen talking about some sort of punishment for not doing so doesn’t really have much proof. It claimed that Roblox would try to pressure you into doing so and possibly pursue legal action.
Don’t know. I figured if they’re able to find out that a player’s data is in your games’ datastore(s) that they’d also be able to find out if it is wiped or not.
I’m not y’know familiar with hardware and stuff but since they do have control of the physical data centers; can’t they change and remove data like that?
Save Data function (when player leaves it uses this function):
function saveData(player)
local charactersList = {}
for i, character in pairs(player.OwnedCharacters:GetChildren()) do
table.insert(charactersList, character.Name)
end
ds:SetAsync(player.UserId .. "Cash", player.leaderstats.Cash.Value)
ds:SetAsync(player.UserId .. "Level", player.leaderstats.Level.Value)
ds:SetAsync(player.UserId .. "EXP", player.Stats.EXP.Value)
ds:SetAsync(player.UserId .. "Characters", charactersList)
ds:SetAsync(player.UserId .. "LastCharacter", player.EquippedCharacter.Value)
game.ReplicatedStorage.OriginalCharacters[player.Name]:Destroy()
end
You’ll have to delete the datastore for Cash, Level, EXP, Characters and LastCharacter too.
Fill in the information.
PlaceId: The place id of your game. DataStoreName: The name of the datastore (local ds = dss:GetDataStore("DataStore1") so "DataStore1") Key: UserIdCash
Heres an example
PlaceId: 12004021330
DataStoreName: DataStore1 (Change this to the name of the datastore because I dont know what you’ve named it).
Key: 4760160964Cash
Once you fill in this information send a screenshot so I can see what the UI looks like and provide you with more help if needed.
Can you also show me the line with the ds variable?