In order to stop collision detection when moving parts in a script, you use 'CFrame' instead of 'Position'. How do I stop collision detection when rotating parts in a script, as 'Orientation', as collision detection?
While rotating a part, the part changes position if it's new rotation will collide, as you know. To fix this problem, you must rotate the part then CFrame it to the desired position which will bypass the collision check. This occurs so fast that our human eyes cannot notice the part changing rotating then getting a new position.