You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
I want to know If i use good or not datastore with tables
- What is the issue? Include screenshots / videos if possible!
Not a issue
- What solutions have you tried so far? Did you look for solutions on the Developer Hub
Yes, but it show only normal datastore not what i want
So when i player leave i whould use
game.Players.PlayerRemoving:Connect(function(plr)
local datastore = game:GetService("DataStoreService"): GetDataStore ("Bann")
datastore:SetAsync(banned, plr.UserId)```
Or
`local banned = {"EXAMPLE"}
game.Players.PlayerRemoving:Connect(function(plr)
local datastore = game:GetService("DataStoreService"): GetDataStore ("Bann")
datastore:SetAsync(banned)```
What should i use?