How do I make the interpolate work and not doing nothing? none of the variables are nil btw
local Camera = Game:GetService("Workspace").CurrentCamera
local Focus1 = CP:WaitForChild("Focus1").Position
local Pos2 = CP:WaitForChild("Pos2").Position
local HRP = Character:WaitForChild("HumanoidRootPart")
coroutine.resume(coroutine.create(function()
print("a")
Camera.CameraType = 6 -- Scriptable
print("b")
Camera:Interpolate(HRP.CFrame, Foc1, 2)
print("c")
wait(2)
Camera:Interpolate(Pos2, Foc1, 15)
print("e")
end))
the script stops at b and then doesnt do anything

1 comment
Tip: You can use the value
"Scriptable"instead of 6 when setting CameraType so that your code is more readable and self-explanatory! (Or the pedantic Enum.CameraType.Scriptable)