For some reason it is only changing the Z-Value of my Camera not the X-Value that I am trying to change.
local increment = 0 local Camera = workspace.CurrentCamera local focusPoint = workspace.Part -- This is inside a function Camera.CFrame = CFrame.new(focusPoint.Position + Vector3.new(increment, 0, 0)) increment = (increment + 12.5)
Haven't tested this but if theres any errors you can probably figure it out.
wait(2) local increment = 0 local Camera = workspace.CurrentCamera Camera.CameraType = 'Scriptable' -- This needs to be set to scriptable because roblox default camera doesn't let you change CFrrame local focusPoint = workspace.Part offset = focusPoint.CFrame.lookVector*-20 -- places 20 in front of part Camera.CFrame = focusPoint.CFrame+offset wait(2) increment = (increment + 12.5) -- This is inside a function Camera:Interpolate(focusPoint.CFrame + Vector3.new(increment, 0, 0)+offset,focusPoint.CFrame,2) -- represents pan time -- also instead of using increments, use a new focuspoint so that the angle changes as well