Change the orientation of a rotating part without affecting the rotation

  1. What do you want to achieve?
    Be able to change the orientation of a rotating part without stopping the existing rotation.
  2. What is the issue? Include screenshots / videos if possible!


  1. What solutions have you tried so far?
    I’m not that familiar with CFrame, so I tried researching a way to do that but after 2 hours wasted, I figured posting it on scripting support would be faster.

First Rotation:

while RotateLoop.Value == true do
		for i = 1, 360 do
			if RotateLoop.Value == false then break end
			wait()
				if RotateLoop.Value == false then break end
				p1.CFrame = p1.CFrame * CFrame.Angles(0, 0, math.rad(15))
		end
	end 

CFrame.lookAt Orientation:

elseif utility == "MouseUpdate" then
		local p1 = plr.Character:WaitForChild("Cloner")
		local lookAt = CFrame.lookAt(p1.CFrame.p, mousepos, Vector3.new(0,1,0))
		local o1 = 
			{CFrame = lookAt * CFrame.Angles(0,0,math.rad(15))}

		

		local tweenInfo = TweenInfo.new(0.7, Enum.EasingStyle.Quint)
		local tween = TweenService:Create(p1, tweenInfo, o1)
		
		tween:Play()
	

		
		
	end

Any help is appreciated :slightly_smiling_face: