function SaveData(t)local F={}for t,A in ipairs(t.Backpack:GetChildren())do if game.ServerStorage:FindFirstChild(A.Name)~=nil then if game.ServerStorage[A.Name]:IsA("\084\111\111\108")then table.insert(F,A.Name)end end end PlayersItems:SetAsync(t.UserId,F)end

function SaveData(Player)
	local Items = {}
	for i,Item in ipairs(Player.Backpack:GetChildren()) do
		if game.ServerStorage:FindFirstChild(Item.Name) ~= nil then
			if game.ServerStorage[Item.Name]:IsA("Tool") then
				table.insert(Items, Item.Name)
			end
		end
	end
	PlayersItems:SetAsync(Player.UserId, Items)
end
