function module.GetSwordSkin(I,w)local y=game.ReplicatedStorage.Inventory.Swords for I,p in pairs(y.Common:GetChildren())do if p.Name==w then return p.Value else for I,p in pairs(y.Rare:GetChildren())do if p.Name==w then return p.Value else for I,p in pairs(y.Epic:GetChildren())do if p.Name==w then return p.Value else for I,y in pairs(y.Legendary:GetChildren())do if y.Name==w then return y.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.GetShieldSkin(I,w)local y=game.ReplicatedStorage.Inventory.Shields for I,p in pairs(y.Common:GetChildren())do if p.Name==w then return p.Value else for I,p in pairs(y.Rare:GetChildren())do if p.Name==w then return p.Value else for I,p in pairs(y.Epic:GetChildren())do if p.Name==w then return p.Value else for I,y in pairs(y.Legendary:GetChildren())do if y.Name==w then return y.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 return module
--------

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

function module:GetShieldSkin(Skin)
	local inv = game.ReplicatedStorage.Inventory.Shields
	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

return module
