How would I reverse sizing

Hello!
I have made my own custom sizing tool and when I try to make it smaller instead of bigger, it just makes it bigger in the same normal direction. Here is my script

local resizeHandles = script.Parent:WaitForChild("ResizeHandles")

local prevResize = 0

resizeHandles.MouseButton1Down:Connect(function()
	if script.Resize.Value == true then
		prevResize = 0
	end
end)

resizeHandles.MouseDrag:Connect(function(normal, distance)
	if script.Resize.Value == true then
		
			local delta = distance - prevResize
			delta = math.abs(delta)

			print(normal)
			if delta >= 1 then
				local size = math.floor(delta / .001) * .001
				local cancollide = resizeHandles.Adornee.CanCollide

				resizeHandles.Adornee.CanCollide = false
				if resizeHandles.Adornee:Resize(normal, size) then
					prevResize = distance
				end

				resizeHandles.Adornee.CanCollide = cancollide
			end
	
		
	end
end)

How would I make it so I could make it smaller as well?

Thanks,
Dragon

I imagine the

if delta >= 1 then

is preventing it from sizing down, its probably as simple as removing that line and the accompanying “end”

Still happening :confused:

30:eyes:characters