Camera CFrame Not Working

Basically, I want the camera to change CFrames to a part’s CFrame. I thought it was going to be easy, but apparently I keep running in to problems. How it works is by firing a remove event (by a touched event), and changing the camera’s cframe.

What happens is that my camera gets moved to another angle, not changing the CFrame at all (basically).
Here is an img if youre confused:

(what it looks like)
image

(what i want it to look like)
image

local event = game:GetService("ReplicatedStorage"):WaitForChild("TutorialCamera")
local TutorialFolder = game.Workspace.Tutorial
local Cam1 = TutorialFolder.StartingCamera

event.OnClientEvent:Connect(function()
	local player = game.Players.LocalPlayer
	local camera = game.Workspace.CurrentCamera
	---
	local gui = player.PlayerGui:WaitForChild("Tutorial")
	--
	local UCarrow = gui.UCArrow
	local ChiikenArrow = gui.ChiikenArrow
	local MultiplierArrow = gui.MultiplierArrow
	local MultiplierPriceArrow = gui.MultiplierPriceArrow
	--
	local gary = gui.Gary
	local text = gui.text
	---
	
	----FIRST----
	player.Character:WaitForChild("HumanoidRootPart").Anchored = true
	
	camera.CameraType = Enum.CameraType.Scriptable
	camera.CFrame = Cam1.CFrame
	-------------
end)

any help is appreciated thanks!!!

Is the Cam1 Anchored? Also are you sure that the camera’s CFrame is being set to the correct part?

Cam1 is anchored. Camera CFrame is going to the correct part.

Is the front of the part facing the correct way?

Also, Is the script a LocalScript? And you can see the front of a part with a decal.

yes. (this is extra space to verify this message)

the script is a local script, and yes it is facing the right way.

Here is the camera documentation, Check it and you probably will find a solution

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.