Fixed camera facing the wrong way

i am trying to make a fixed camera over the left “shoulder” of the player

in the way that i am going about this the camera, for some reason, points in a different direction to where i set it to in the script

here is the code
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local Remote = game:GetService("ReplicatedStorage").Pos

if player then
	Remote:FireServer(player) --firing a remote to server so the server can set the players character in place
	wait() --i added this cuz the camera was loading faster than the player or something and WaitForChild would just error
	local camera = workspace.CurrentCamera
	camera.CameraType = Enum.CameraType.Scriptable
	local pos = Vector3.new(-87.3, 7.5, -34)
	local lookAt = Vector3.new(-1.84, 0, 0)
	local cameraCFrame = CFrame.new(pos, lookAt)
	workspace.CurrentCamera.CFrame = cameraCFrame
end
what the camera ingame looks liek

its supposed to face the same way as the players head, the pos is taken from the head and testing with parts show it faces the correct way so idk whats wrong with it

2 Likes

There’s only one reason why this could go wrong and that’s the lookAt value. Keep adjusting the lookAt X,Z values because I see nothing wrong other than the values perhaps.

2 Likes

what i thought was the issue at first but when i changed the values slightly it didnt change anything noticable so i just went on to making a post. should of increased them more lol