I have made this script which should save and load a table. When I leave the game it prints ("Hi") but when I join again it just prints blank text?
local Banlogs = {} local uniquekey = 'serverid-1591857823878569034' local DSService = game:GetService('DataStoreService'):GetDataStore('ThisisDaStoreTing') game.Players.PlayerAdded:connect(function(plr) -- GetAsync local GetSaved = DSService:GetAsync(uniquekey) if GetSaved then print(unpack(Banlogs)) end end) game.Players.PlayerRemoving:connect(function(plr) table.insert(Banlogs, "Hi") DSService:SetAsync(uniquekey, Banlogs) print(unpack(Banlogs)) end)