DataStore Key Deleter

Hay Dev’s, I’ve being working on a DataStore Deleter. It’s where you get a datastore key just for example like Beta3_ and it will delete the data which is in that key.

Code Example:

-- services

local ReplicatedStorage	= game:GetService("ReplicatedStorage")
local DataStoreService	= game:GetService("DataStoreService")
local Players			= game:GetService("Players")

-- constants

local PLAYER_DATA	= ReplicatedStorage.PlayerData

local PREFIX		= "beta3_"  -- This Is The Key

local DATASTORE		= DataStoreService:GetDataStore("Data")

local SAVE_STATS		        = true
local SAVE_KEYBINDS		= true
local SAVE_EQUIPPED		= true
local SAVE_INVENTORY	= true
local SAVE_RANKING		= true
local SAVE_BATTLEPASS	= true
local SAVE_CURRENCY	= true

Here’s the DataStore Deleter: Datastore Deleter - Roblox

4 Likes