Player Data Removal

I need some help with removing my players’ data. With the right to erasure, I can’t seem to figure out how to remove people’s data. Is anyone willing to help me?

1 Like

Use :RemoveAsync() on a GlobalDataStore.

Example:

local DataStoreService = game:GetService("DataStoreService")

local GlobalDataStore = DataStoreService:GetGlobalDataStore()

local key = "MyKey"
GlobalDataStore:RemoveAsync(key, ...)
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.