Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

CameraScript will not be disabled?

Asked by 6 years ago

I'm trying to disable the overall camera but it won't work. I have my local script under StarterPlayerScripts, here is script just in case I need to change anything:

wait(0.5) -- just to let camera load in
script.Parent.CameraScript.Disabled = true

1 answer

Log in to vote
0
Answered by 6 years ago

Nothing is wrong with this script at all for me. Here's another method that may work for you, I'm not quite sure >-<

script.Parent:WaitForChild("CameraScript") -- Wait for CameraScript to load and it won't do anything till it does
script.Parent.CameraScript.Disabled = true -- Disables CameraScript
print("Camera Script Disabled") --Message saying it worked :thumbs_up:
0
Yeah, try that one. marketmanager1 52 — 6y
Ad

Answer this question