I am a bit confused, what is the expected result of this? Currently, you provide 6 arguments to CFrame.new, which is not something it expects, therefore it throws an error due to argument count mismatch. If you want to apply rotation to a CFrame, you could do something like CFrame.new(X, Y, Z) * CFrame.Angles(math.rad(Rotation), 0, 0)
According to the official documentation, it takes 7 arguments, not 6. I still do not understand the goal though, what are you trying to achieve with it? Does the BoxRotation.Value ever change? If so, what’s the minimum & maximum value it can be changed to?