https://imgur.com/a/UIS6dhA
I've tested the script in a LocalScript and a Script. I can't tell if i'm missing something or what but this is really bugging me. Vector3 isn't apart of CurrentCamera and so i'm stumped...
Hey!
Simple solution. Instead of saying Position
, you used CFrame
. It's a common mistake I make.
workspace.CurrentCamera.CFrame = CFrame.new(workspace.Map.CutsceneAreas.AppartementAlpha.CharPosition.Position) -- See, position instead of CFrame after CharPosition.
This is what you need to change. Tell me if there's still an error!
The syntax for CFrame.new is actually
CFrame.new(Vector3.new(x, y, z))
But an easier way is not to make a new CFrame, but use your existing one so that:
workspace.CurrentCamera.CFrame = workspace.Map.CutsceneAreas.ApartmentAlpha.CharPosition.CFrame