I have a function with these 3 lines:
local eulerOffsetDeg = (one.Orientation-two.Orientation):Abs()
local eulerOffsetRad = eulerOffsetDeg*(math.pi/180)
local rotOffset = CFrame.fromOrientation(eulerOffsetRad)
i have put print statements before the first and second variables, but when the third variable is declared in any way it leads to the error in the title.
i dont know what to do at all please help