Changing Orientation doesn't work in TweenService

How can I change the Orientation of a part in TweenService? I’ve tried countless of methods but none of them worked.

local tweenService = game:GetService("TweenService")
local part = script.Parent

local info = TweenInfo.new(
	4,
	Enum.EasingStyle.Sine,
	Enum.EasingDirection.InOut,
	100,
	true,
	0
) 

local goal = {
	Position = Vector3.new(9.2,8.459,75.949);
	Cframe = CFrame.Angles(0, 0, math.rad(-34.896))
}	

local playIt = tweenService:Create(part,info,goal)
playIt:Play()

Please do not ask people to write entire scripts or design entire systems for you. If you can't answer the three questions above, you should probably pick a different category.

You misspelled CFrame “Cframe”
if that doesnt work try changing CFrame to Orientation and use Vector3.new()

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