:resize() function not working?

local function OnScale(Face, Distance)
    if SelectedTarget and ToolSelected == "Scale" then
        local Scale = Distance - LastDistance
        print(SelectedTarget.Size)
        if SelectedTarget:Resize(Face, Scale) then
            LastDistance = Distance
        end
        print(SelectedTarget.Size)
    end
end

i’ve already tested this and both prints print the exact same thing even after the :resize() function is used no errors

I ran the code and it seems to print fine on my end, giving the correct sizes.

If you are getting no errors then the Face and Distance are not nil and SelectedTarget exists still.

The only thing I can think is that Distance - LastDistance is 0, but I have no way of actually knowing without your full code.