Im currently trying to make a model rotate using tween service and i got this mismatch error.
Could there be a way i could fix this? i never encountered this error before.
local RotationInfo = TweenInfo.new(1.5,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
local TweenCreate = TweenService:Create(SpawnedNpc.PrimaryPart,RotationInfo,{Orientation = CFrame.Angles(math.rad(45),0,0)}):Play()
Orientation only accepts Vector3 Values and not CFrame values, CFrame Accounts for both Position and Orientation (Rotation), and uses Radians as a Unit of Measurement, While the Orientation Property only Accounts for Rotations, uses Vector3 for 3D spaces, and uses Degrees to function.
Either apply a Vector3 to Orientation, or use CFrame Instead of Orientation.
{CFrame = NewCFrame}
{Orientation = Vector3.xAxis*45} -- Equivalent to Vector3.new(45,0,0)