Alrighty, so if you saw my other posts, you would know I’m pretty new to using CFrame, Vector3, etc… so I apologize if this is a very simple question.
Anyway, I’m getting the error Unable to cast to Dictionary for some reason, with no additional errors. I’m not really sure what else to say, nor do I know where to go from here.
local ts = game:GetService("TweenService")
local part = script.Parent
local tweeninfo = TweenInfo.new(
0.5,
Enum.EasingStyle.Back,
Enum.EasingDirection.Out,
0,
false,
0
)
local goal = CFrame.Angles(0, part.Orientation.Y + 90, 0)
local tween = ts:Create(part, tweeninfo, goal) -- where the error happens
tween:Play()