How to make a camera transition

Hello, someone can help me how to make a camera type change transition? Like in the video below:

https://gyazo.com/e1b1505c07b043e1fe451b3455c14fa2

You need TweenService

local Camera = workspace.CurrentCamera
local Info = TweenInfo.new(2, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut)
local Goal:CFrame = 

Camera.CameraType = Enum.CameraType.Scriptable
local Tween = game:GetService("TweenService"):Create(Camera, Info, {["CFrame"] = Goal})
Tween:Play()

Goal would be the CFrame of the part that indicates where and where it looks, you can also create it, also, changing the camera’s CameraType to Scriptable makes the player no longer able to move it.


Sources: Camera, CFrame, CameraType

didn’t work, the camera dont make transition

His script is perfectly fine, maybe you using it not right?

1 Like

Give more details please, is it a LocalScript?, where is it?, it will only work if it is a LocalScript and is in one of these positions

A Player’s Backpack, such as a child of a Tool
A Player’s character model
A Player’s PlayerGui
A Player’s PlayerScripts.
The ReplicatedFirst service