CFrame expected, got Instance

local MainInfo = TweenInfo.new(TurnSpeed, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0)
local MainProps1 = {CFrame = MainPart1 * CFrame.Angles(0, math.rad(36), 0)} -- Error Here
local MainTween1 = TS:Create(MainPart1, MainInfo, MainProps1)

Click1Event.OnServerEvent:Connect(function()
	
	MainTween1:Play()
	
end)

In output it says: (CFrame expected, got Instance) I’m not sure what that means exactly, but it might be because MainPart1 is a union, but I don’t know.

Any help is appreciated!

You forgot the Mainpart1.CFrame * CFrame.Angles

1 Like

Oh yeah, I forgot about that :confused:

I probably wouldn’t have noticed that, thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.