Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why isnt this line of code working, Not a valid member on camera?

I use a custom camera script and I was trying to turn on invisicam because turning it on in starter player doesnt work but it gives me the error "DevCameraOcclusionMode" Not a valid member of camera?

Camera.DevCameraOcclusionMode = Enum.DevCameraOcclusionMode.Invisicam

1 answer

The DevCameraOcclusionMode property is not found within the Camera, but instead the Player.

Player.DevCameraOcclusionMode = Enum.DevCameraOcclusionMode.Invisicam

2 comments

0

Im afraid that doesnt work. I would post the whole script but it would get cut off becaues of the character limit on these posts.

0

GottaHaveAFunTime, you can just go try it with your script using the Replace tool in the scripting menu.

This discussion is preserved as it was. New answers, comments, and votes are closed.