My turn script isn't working

Hello, I have a script that will turn my model, but it isn’t working. What can I do to fix it? Thank you.

This is the script:

spawn(function ()
	while wait() do
		while true and wait() do
			if right and not left then
				print("No left.")
				local turnCar = CFrame.Angles(0, -5, 0)

				local drivingCar = car:GetPivot()

				car:PivotTo(drivingCar * turnCar)
			end

			if left and not right then
				print("No right.")
				local turnCar = CFrame.Angles(0, 5, 0)

				local drivingCar = car:GetPivot()

				car:PivotTo(drivingCar * turnCar)
			end
		end

	end
end)