Camera Manipulation

I was wondering why my camera manipulation isn’t working. I followed a tutorial and looked at other posts similar to this but none of them worked for me. This is in a regular Script.

local ProximityPrompt = script.Parent
local Camera = game.Workspace.CurrentCamera
local Player = game.Players.LocalPlayer

ProximityPrompt.Triggered:Connect(function()
	local Clone = game.ReplicatedStorage.NPC:Clone()
	Clone.Parent = workspace
	wait()
	Camera.CameraType = "Scriptable"
	Camera.CFrame = game.Workspace.FocusPart.CFrame
end)

Should be:

Camera.CameraType = Enum.CameraType.Scriptable

Edit:

You can’t get local player from a regular script, this should be a local script as you want to manipulate the client’s camera.