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

Weird glitch in Roblox; CameraType wrong switching, anyone knows why?

Asked by
NorteX_tv 101
6 years ago
game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable

I have this code ^^^ and I want to switch current camera from Fixed to Scriptable. When I run the code, camera sets itself to Fixed > Custom not to Scriptable. Is there any glitch or something in roblox that does this? Or some other built-in script that switches it? (I ensure that NOTHING FROM MY SCRIPTS is switching camera type)

0
what script do you used? HaveASip 494 — 6y
1
Hello, camera manipulation is tricky, I recommend adding a repeat loop that stops when the mode is equal to the requested mode (e.g. repeat wait(1) cam.CameraType = Enum.CameraType.Scriptable until cam.CameraType == Enum.CameraType.Scriptable) User#20388 0 — 6y

1 answer

Log in to vote
0
Answered by
NorteX_tv 101
6 years ago
Edited 6 years ago

@HaveASip LocalScript only @RedcommanderV2 Thanks, I'll force it through:

repeat game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable until game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
Ad

Answer this question