I want the player’s Camera to view this specific location in the workspace. The error says “Attempted to call a table value at line 4” Here is the code:
local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera
camera.CFrame = CFrame.lookAt(Vector3(487.265, 5.907, -298.671), Vector3(-1.169, -90.565, 0))