Character turned around when in first person

Hey, Im making a first person system like in fps games. When I add offset to the camera to make it look normal, the character is turned around for some reason. Below is my code and what it looks like

local camdirec = root.CFrame:ToObjectSpace(cam.CFrame).LookVector
if neck then
	cam.CFrame *= CFrame.new(0, 1, -1)

	neck.C0 = CFrame.new(0,y,0) * CFrame.Angles(0,math.rad(180),0) * CFrame.Angles(0,-camdirec.X, 0) * CFrame.Angles(-camdirec.Y,0,0)
	neck.C0 = neck.C0 * CFrame.Angles(math.rad(-90),0,0)

	right.C0 = CFrame.new(z,0.5,0) * CFrame.Angles(0,math.rad(180),0) * CFrame.Angles(0,-camdirec.X, 0) * CFrame.Angles(-camdirec.Y,0,0)
	right.C0 = neck.C0 * CFrame.Angles(0,math.rad(-90),math.rad(-90)) + Vector3.new(1,-0.5,0)

	left.C0 = CFrame.new(z,0.5,0) * CFrame.Angles(0,math.rad(180),0) * CFrame.Angles(0,-camdirec.X, 0) * CFrame.Angles(-camdirec.Y,0,0)
	left.C0 = neck.C0 * CFrame.Angles(0,math.rad(90),math.rad(90)) + Vector3.new(-1,-0.5,0)

	rs.head:FireServer(neck.C0,right.C0,left.C0)
end

This is the back of my shirt btw

1 Like

figured it out, turns out I just have to use cameraoffset instead