I am attempting to lock the camera to a part but I am a little lost on what to do. Heres what ive got so far.
local cam = workspace.CurrentCamera
local Player = game.Players.LocalPlayer
local Camera1 = game.Workspace.Camera1
-------------------------------------------------------------------
cam.CameraType = Enum.CameraType.Scriptable
if workspace.Cameras.Camera1 then
cam.CFrame = CFrame.new(Camera1.CFrame.X, Camera1.CFrame.Y + 1.5, Camera1.CFrame.Z + 13)
-------------------------------------------------------------------
I am lost why this isnt working.
