function SliderClass.new(P,N)local X=setmetatable({},SliderClass)X._Maid=Lazy.Utilities.Maid.new()X._Spring=Lazy.Utilities.Spring.new(1,.1,1,0)X._Axis=N or"\120"X._ChangedBind=Instance.new("\066\105\110\100\097\098\108\101\069\118\101\110\116")X._ClickedBind=Instance.new("\066\105\110\100\097\098\108\101\069\118\101\110\116")X.Interval=0 X.IsActive=true X.TweenClick=true X.Inverted=false X.Frame=P X.Changed=X._ChangedBind.Event X.Clicked=X._ClickedBind.Event X.DragStart=nil X.DragStop=nil init(X)X:Set(.5)return X end function SliderClass.Create(P)local N=nil if not P or P=="\120"then N=SliderClass.new(SLIDER_FRAMEX:Clone(),P)else N=SliderClass.new(SLIDER_FRAMEY:Clone(),P)N.Inverted=true end return N end
-- Public Constructors

function SliderClass.new(sliderFrame, axis)
	local self = setmetatable({}, SliderClass)

	self._Maid = Lazy.Utilities.Maid.new()
	self._Spring = Lazy.Utilities.Spring.new(1, 0.1, 1, 0)
	self._Axis = axis or "x"
	self._ChangedBind = Instance.new("BindableEvent")
	self._ClickedBind = Instance.new("BindableEvent")

	self.Interval = 0
	self.IsActive = true
	self.TweenClick = true
	self.Inverted = false

	self.Frame = sliderFrame
	self.Changed = self._ChangedBind.Event
	self.Clicked = self._ClickedBind.Event
	self.DragStart = nil
	self.DragStop = nil

	init(self)
	self:Set(0.5)

	return self
end

function SliderClass.Create(axis)
	local slider = nil

	if not axis or axis == "x" then
		slider = SliderClass.new(SLIDER_FRAMEX:Clone(), axis)
	else
		slider = SliderClass.new(SLIDER_FRAMEY:Clone(), axis)
		slider.Inverted = true
	end

	return slider
end
