What am I missing in this scriptable camera

I made a scriptable camera and it works perfectly fine but I am getting this warning in the output:
“ActivateCameraController did not select a module. - Client - CameraModule:335”
I know this means I didn’t specify a property but I don’t know which one so if anyone who knows about cameras could help me find out I will appreciate

My code:

local Camera = workspace.CurrentCamera
local Campart = workspace.Safekeeping.CamPart

Camera.CameraType = Enum.CameraType.Scriptable
Camera.CameraSubject = Campart
Camera.CFrame = Campart.CFrame

Try putting the script on StarterPlayer > StarterCharacterScripts

1 Like

that did not remove the warning

2 Likes

I tried setting the CameraType to scriptable after setting the subject and adding a wait() right before like that post says but while it fixed the warning it broke my camera

If you want the camera to behave as it should be normally with default controls set the type other than scriptable like custom.

https://developer.roblox.com/en-us/api-reference/property/Camera/CameraType

I don’t want to to behave like normal, I am setting up a menu screen that character should not be able to look around in.

According to the wiki (at least what I got from it) CameraSubject doesn’t work with scriptable but if i’m wrong feel free to let me know

well the script works perfectly fine, it just shows a warning

ah, makes sense. I’ll try to help with that.