Try to make a "Seemless" Teleport for parts

Ight so I’m trying to make a “Seamless Teleport” what I think some people call it but I want to teleport the items like show in gif
CXSYhHTi4c
It teleports the pars into two corners of the blocks but I’m not sure why
WHMdZorKfJ
I’ve been searching for a while on how to get this done properly but I haven’t found too much useful

transformedPoint = workspace.Pad1.CFrame:pointToObjectSpace(workspace.Object.Position)
workspace.Object.Position = workspace.Pad2.Position+ Vector3.new(transformedPoint.x, transformedPoint.y, transformedPoint.x)

You can lerp the pads to that position

Lerping is very important when you want things to be seamless or smooth, lerp = Linear Interpolation:

Here is the Text Tutorial: CFrame:lerp How to use it properly
Here is the Visual Tutorial: Roblox Scripting Tutorial - Lerping - YouTube
Here is the wiki: No Wiki

transformedPoint.x, transformedPoint.y, transformedPoint.z

I think you accidentally placed the x coordinates to the z coordinates (x,y,x) (x,y,z)