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.