Hello.
I have a ban system in my game that uses data store. Is it possible to unban a person from the data store without un banning everyone else?
Code I have (it is part of an admin commands system)
elseif msg:lower():sub(1,4) == ";ban" then
local obj = msg:sub(6)
local player = game.Players[obj]
local ds = game:GetService("DataStoreService"):GetDataStore("Moderation")
ds:SetAsync(player.UserId, true)
wait()
game.Players[obj]:Kick("You have been banned!")
Thanks

3 comments
Just make a command that sets their datastore to false
Weird system, why don't you use tables?
I was never fond of using tables