CameraSubject resetting to Humanoid instantly

As said; camera properties were viewed from explorer, and while running the code, nothing changed.

local part = Instance.new("Part") 
part.Anchored = true
part.CanCollide = false
part.Transparency = 1
part.Position = pos
part.Parent = game.Workspace.Bin

cam.CameraSubject = part
print(cam.CameraSubject) -- Prints part, but no change is observed.

Help is appreciated. There is a lot more code then this, but the prints have confirmed this section of code is running correctly.

Neglected to check for CameraSubject being reset somewhere else in other code. my apologies lmao

2 Likes