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

	local Clone = game.ReplicatedStorage.NPC:Clone()
	Clone.Parent = workspace
	Camera.CameraType = "Scriptable"
	Camera.CFrame = game.Workspace.FocusPart.CFrame

Should be:

Camera.CameraType = Enum.CameraType.Scriptable


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.