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

why can't I change the camera properties in StarterPlayer using LocalScript?

in General, this is the case. I created a LocalScript in StarterPlayer --> StarterPlayerScripts . The goal is to change the camera properties in StarterPlayer, namely DevCameraOcclusionMode . I want to change from Zoom to Invisicam . Here is what the script turned out to be:

script.Parent.Parent.DevCameraOcclusionMode = Enum.DevCameraOcclusionMode.Invisicam

Seemed so simple , but no! Issues errors : 1) Insufficent permissions to set DevCameraOcclusionMode and 2) The current identity (2) cannot setDevCameraOcclusionMode (lacking permission 5).

I tried other simple ways to do this , but it doesn't work :( Please help me with this problem.

1 answer

✓ Accepted answer

You can't access it if you are lacking permission. Once I tried accessing the CoreGui, but it wouldn't let me. Sorry! :(

1 comment

0

thank you

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