Can't seem to set camera subject to part

For example:

local cam = game.Workspace.CurrentCamera
cam.CameraSubject = game.Workspace.Part

This does not set the camera subject to the part, it just stops it from following the player.

How would I fix this?

Give this a try?

local CurCam = workspace.CurrentCamera;
local Part = workspace:WaitForChild("Part");
task.defer(function()
	CurCam.CameraSubject = Part;
end)
2 Likes

Nope, still the same issue. Is it working for you?

Yeah it’s working for me


Nevermind! I’m sorry, it’s working now. I moved it to starter character scripts.

1 Like