Camera GUI only works in Studio

One last note, you can edit your button script and remove the line disabling this script since there is no longer an infinite loop present that would repeatedly move the camera. It is generally inadvisable to use an infinite loop for something like that. In most situations, there is some event you can wait for, or if you really need to, you can just use the “wait()” function and wait a few seconds before running lines of code.

1 Like

Are you sure you don’t have another script that is changing the camera source? You should definitely check for any other scripts that are changing something.

1 Like

Try changing this variable to

local camera = workspace.Camera
1 Like