Trying to rotate a part to a certain position

  1. What do you want to achieve? Keep it simple and clear!
    I am trying to rotate a camera part when a click detector is clicked to a certain position
  2. What is the issue? Include screenshots / videos if possible!
    I don’t know how to rotate the part and make it stop rotating
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I looked it up and got this piece of code, but it does not rotate the part.
local CD = script.Parent.ClickDetector
local Cam = workspace.ofe.CamPart

local targetOrientation = Vector3.new(-127.2, 6.9, -9)
local currentOrientation = Cam.Orientation

CD.MouseClick:Connect(function()
	local part = Cam
	
	local targetOrientation = Vector3.new(-127.2, 6.9, -9)
	local currentOrientation = Cam.Orientation


	part.Changed:Connect(function(property) 

		if property == "Orientation" then

			part.Orientation = Vector3.new(currentOrientation.X, targetOrientation.Y, currentOrientation.Z)
		end
	end)
end)