CFrame not a member for this, Interpolate

Hey! I am trying to interpolate the camera to go into a portal,
yet I get an error that has to do with the CFrame
image

Thanks in advance

wait(5)

local cam = workspace.CurrentCamera

local player = game.Players.LocalPlayer
local FocusP = game.Workspace.MainPortal

cam.CameraType = "Scriptable"

cam:Interpolate(FocusP.CFrame ,  FocusP.CFrame , 2)

Hey Jai_2den!

Is workspace.MainPortal a model?

If so then you should first set a primary part.
To do that you need to go in the workspace, select the model and then set the PrimaryPart property to the part you want.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.