local ds = game:GetService("DataStoreService") local toolds = ds:GetDataStore("Tools") game.Players.PlayerAdded:Connect(function(plr) local alreadygottools = false plr.CharacterAdded:Connect(function() if alreadygottools then return end local tools = toolds:GetAsync(plr.UserId) or {} for i,v in pairs(tools) do local toolfolder = game.ReplicatedStorage --wherever the tools are stored local tool = toolfolder[v]:Clone() tool.Parent = plr.Backpack end alreadygottools = true end) end) game.Players.PlayerRemoving:Connect(function(plr) local tools = {} for i,v in pairs(plr.Backpack) do table.insert(tools, v.Name) end toolds:SetAsync(plr.UserId, tools) end)