function BasicPane.new(p)local R=setmetatable({},BasicPane)R._maid=Maid.new()R.Maid=R._maid R._visible=false R.VisibleChanged=Signal.new()R._maid:GiveTask(R.VisibleChanged)if p then R._gui=p R.Gui=p R._maid:GiveTask(p)end return R end

function BasicPane.new(gui)
	local self = setmetatable({}, BasicPane)

	self._maid = Maid.new()
	self.Maid = self._maid

	self._visible = false

	self.VisibleChanged = Signal.new() -- :Fire(isVisible, doNotAnimate, maid)
	self._maid:GiveTask(self.VisibleChanged)

	if gui then
		self._gui = gui
		self.Gui = gui
		self._maid:GiveTask(gui)
	end

	return self
end
