Save a Server DataStore

How do I save all the children of the Folder on the ServerStorage with DataStore?
(its not an inventory system)
I have a script that adds children to the Folder on the Server Storage but how do I save it? I have a system

function onPlayerLeave(x)
	local data = x.Ban
	local Table = {}
	for _,plr in pairs(game.Players:GetChildren()) do
		AnotherCurrentValue = AnotherCurrentValue + 1
	end
	if AnotherCurrentValue <= 1 then
		for i,v in pairs(script.Parent.Folder:GetChildren()) do
			table.insert(Table,v.Name)
		end
	end
	local succ,bad = pcall(function()
		MyData:SetAsync(x.UserId,Table)
	end)
end

That detects when the server Dies but I have no idea how to save all the children of the Folder
as SetAsync takes the Last Players User ID which wont save when a new Server is Started and the Last Player is not there. How do I do this?