I tried doing this in a local script but it didn't work:
workspace.CurrentCamera.CameraType = Enum.CameraType.Orbital
I tried doing this in a local script but it didn't work:
workspace.CurrentCamera.CameraType = Enum.CameraType.Orbital
Try doing the following! (In a regular script.)
repeat wait() until game.Workspace.Camera --fix a roblox bug, just to make sure Camera exists when the script goes.
wait(1) --It needed 1 second delay, now it will work :S
game.Workspace.Camera.CameraType = Enum.CameraType.Orbital --CurrentCamera doesn't really exist :S
If this works, please mark as the answer! <3
As always, good scripting!
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
i put it in a server script and it did not work
I updated the script, paste again, I tested it and it works.