I have a ban folder which check if a user's id is in a folder it kicks them. I want to be able to add ID's while in-game (which I have scripted), but I need the values to save inside the folder when the server shuts down, and to insert them when the server starts using a datastore. I'm not sure where to start and what to do.
My current code that I have:
local rs = game:GetService("ReplicatedStorage") local dss = game:GetService("DataStoreService") local bds = dss:GetDataStore("BanList")