Why does it return 0?

So I am tweening the camera rotation;

tService:Create(camera, TweenInfo.new(0.7, Enum.EasingStyle.Sine, Enum.EasingDirection.In), {CFrame = CFrame.new(camera.CFrame.Position, Vector3.new(camera.CFrame.Rotation.X, math.rad(-172.461), camera.CFrame.Rotation.Z))}):Play()

and it always tweens to the same spot so I wanted to check out what the X and Y prints with this script:

print(math.rad(camera.CFrame.Rotation.X))

and it seems it always returns 0, why?

here is an example video

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.