Unable to set Camera CFrame to a Part's CFrame

Hey there!

While trying to set the player’s camera CFrame to a part(which I’ve done many times before), the camera doesn’t position itself to where the part is, even though Camera.CameraType is set to scriptable. I’ve never encountered this before and I don’t see anything else like this on the forum. Any help is appreciated!

Code (in a local script inside starterGui:
local camera = game.Workspace.CurrentCamera

wait(5)

print(“go”)

repeat
camera.CameraType = Enum.CameraType.Scriptable
wait()
until camera.CameraType == Enum.CameraType.Scriptable

camera.CFrame = game.Workspace.WrapCam.CFrame

1 Like

Have you tried:

camera.CFrame.Position = game.Workspace.WrapCam.Position

unfortunately that gives an error. I don’t think you can have both CFrame and Position? maybe i’m wrong.

Can you provide a video or a bunch of images?

Sure! But nothing happens, so im not sure how it will help.

Before:

After:

nevermind, something else in the game was making it break. Thanks, though!