I'm making a custom camera for a racing game and I want it to swing side to side when the player turns the vehicle.
I came up with this which returns how fast the vehicle is spinning but the camera will only swing to one side because it doesn't check which direction it is spinning.
(Part.RotVelocity * Part.CFrame.upVector).magnitude