function DropdownClass.new(q,f)local P=setmetatable({},DropdownClass)P._Maid=Lazy.Utilities.Maid.new()P._ChangedBind=Instance.new("\066\105\110\100\097\098\108\101\069\118\101\110\116")P._Options={}P._Selected=nil P.Button=q P.ListFrame=f P.Changed=P._ChangedBind.Event init(P)P:Set(P._Options[1])return P end function DropdownClass.Create(q,f)f=f or#q local P=DROP_BUTTON:Clone()local C=Lazy.Constructors.List.Create(q,f)C.Position=UDim2.new(0,0,1,0)C.Size=UDim2.new(1,0,f,0)C.Visible=false C.Parent=P return DropdownClass.new(P,C)end
-- Public Constructors

function DropdownClass.new(button, listFrame)
	local self = setmetatable({}, DropdownClass)

	self._Maid = Lazy.Utilities.Maid.new()
	self._ChangedBind = Instance.new("BindableEvent")
	self._Options = {}
	self._Selected = nil

	self.Button = button
	self.ListFrame = listFrame
	self.Changed = self._ChangedBind.Event

	init(self)
	self:Set(self._Options[1])

	return self
end

function DropdownClass.Create(list, max)
	max = max or #list

	local button = DROP_BUTTON:Clone()
	local listFrame = Lazy.Constructors.List.Create(list, max)

	listFrame.Position = UDim2.new(0, 0, 1, 0)
	listFrame.Size = UDim2.new(1, 0, max, 0)
	listFrame.Visible = false
	listFrame.Parent = button

	return DropdownClass.new(button, listFrame)
end
