Once setting a cameras focus to a parts CFrame, how would I rotate it?

--> VARIABLES
local Player = game:GetService("Players").LocalPlayer
local Camera = game.workspace.CurrentCamera
local CameraPart = game.Workspace.CameraPart

--> CODE
repeat wait() until Player.Character
wait()
Camera.CameraType = Enum.CameraType.Scriptable
Camera.Focus = CameraPart.CFrame

(I’ve looked at other solutions and implemented them but they haven’t worked)

rotate the part (either Orientation or CFrame)

--> VARIABLES
local Player = game:GetService("Players").LocalPlayer
local Camera = game.workspace.CurrentCamera
local CameraPart = game.Workspace.CameraPart

--> CODE
repeat wait() until Player.Character
wait()
Camera.CameraType = Enum.CameraType.Scriptable
CameraPart.CFrame = CFrame.Angles(0, 180, 0)
Camera.Focus = CameraPart.CFrame

does nothing

I think you should do

Camera.CFrame = Camerapart.CFrame

local Player = game:GetService("Players").LocalPlayer
local Camera = game.workspace.CurrentCamera
local CameraPart = game.Workspace.CameraPart

--> CODE
repeat wait() until Player.Character
wait()
Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame= CameraPart.CFrame * CFrame.Angles(0, math.rad(180), 0)

Maybe you’re looking for Camera:SetRoll()
However this function is outdated and you could simply rotate the Part and then set the Camera.CFrame at that Part.
https://developer.roblox.com/en-us/api-reference/function/Camera/SetRoll