I need a data store that has three tables in it. I have this so far. I don't know how to make it so that it saved tables.
local DATA = game:GetService("DataStoreService"):GetDataStore("SaveNames"); game.Players.PlayerAdded:connect(function(player) local blocks = Instance.new("Folder", player) local names = Instance.new("StringValue", blocks) local positions = Instance.new("IntValue", blocks) local sizes = Instance.new("IntValue", blocks) blocks.Name = "Blocks" names.Name = "Names" positions.Name = "Positions" sizes.Name = "Sizes" if DATA:GetAsync(player.userId) then names.Value = DATA:GetAsync(player.userId)[1] positions.Value = DATA:GetAsync(player.userId)[2] sizes.Value = DATA:GetAsync(player.userId)[3] end end) game.Players.PlayerRemoving:connect(function(player)if player:FindFirstChild("Blocks") then DATA:GetAsync(player.userId, {player.Blocks.Names.Value, player.Blocks.Positions.Value, player.Blocks.Sizes.Value}) end end)