CFrame.Y is just the Y component of the CFrame’s position vector. You are multiplying it by the LookVector which is the forward-facing unit vector of the CFrame, so you wouldn’t be changing the direction at all; it’s just making the ray longer.
Oh, alright, thanks for the information, but does that include the cameraCFrame * CFrame.Angles(0, 0, math.rad(x))).LookVector or only the cameraCFrame.lookVector * cameraCFrame.Y * x?
I still didn’t figure out how to change the Y target.