--[AUTO SIZE]--

function AutoSizeModule.Resize()
	local Offset = 0
	for _, Ui in pairs(PluginGui:GetChildren()) do
		if Ui:IsA("Frame") then
			Offset = Offset + Ui.AbsoluteSize.Y
		end
	end
	if PluginGui.AbsoluteSize.Y < Offset then
		PluginGui.CanvasSize = UDim2.new(0,0,0, Offset)
	end
	if PluginGui.AbsoluteSize.Y > Offset then
		PluginGui.CanvasSize = UDim2.new(0,0,1,0)
	end
end
PluginGui.Changed:Connect(AutoSizeModule.Resize)
return AutoSizeModule
