hi. so i'm trying to make a game where if you click a button you can change the cameras position to a new one can I get some help on this? this is the current script i have but doesnt work
camera = workspace.Camera wait(1) camera.Position = workspace.Camerapart camera.CameraType = Scriptable
can i pls get some help on this, anything that works will be appreciated
You need to identify the Camera with Local
such as:
local Camera = game.Workspace.Camera
You must also use CFrame
for your camera.
Camera.CFrame = game.Workspace.Camerapart.CFrame
Then, for the CameraType
you need to use Enum
Camera.CameraType = Enum.CameraType.Scriptable
Hope this helped!