function module.GetSwordSkin(b,m)local R=game.ReplicatedStorage.Inventory.Swords for b,k in pairs(R.Common:GetChildren())do if k.Name==m then return k.Value else for b,k in pairs(R.Rare:GetChildren())do if k.Name==m then return k.Value else for b,k in pairs(R.Epic:GetChildren())do if k.Name==m then return k.Value else for b,R in pairs(R.Legendary:GetChildren())do if R.Name==m then return R.Value else print("\067\111\117\108\100\110\'\116 \102\105\110\100 \116\104\101 \115\107\105\110 \105\110\102\111")return nil end end end end end end end end end


function module:GetSwordSkin(Skin)
	local inv = game.ReplicatedStorage.Inventory.Swords
    for i,v in pairs(inv.Common:GetChildren()) do
	if v.Name == Skin then
		return v.Value
	else
		for i,v in pairs(inv.Rare:GetChildren()) do
		if v.Name == Skin then
		    return v.Value
		else
			for i,v in pairs(inv.Epic:GetChildren()) do
			if v.Name == Skin then
		        return v.Value
			else
				for i,v in pairs(inv.Legendary:GetChildren()) do
				if v.Name == Skin then
		            return v.Value
				else
				print("Couldn't find the skin info")
				return nil
				end
			end
		end
	end
end
end
end
end
end