Not quite sure how cameras work. I try to display the camera as shown below, but the view is below the map.
--Setup variables
local cameras = game.Workspace.CCTVCams:GetChildren()
local cameraSelected = 1
local camera = game.Workspace.CurrentCamera
--Function to update the camera
local function updateCam(camNum)
local camPart = cameras[camNum].CamPart
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = camPart
camera.CoordinateFrame = CFrame.new(camPart.Position)
camera.Focus = CFrame.new(camPart.Position)
end
updateCam(1)

1 comment
I havent worked with cameras to much, but ill recommend two things. One, change the function to a renderStepped function. That way it runs on FPS not time. And second remove camera.Focus ive personally never had any luck with it. Also change "camera.CoordinateFrame" to "camera.CFrame"