Hello there, for some reason it says unable to cast to dictionary:
This hasn’t happened before and I don’t know why is it happening now. I tried some other things that can possibly fix it, but it didn’t work. I’ll show you the code.
CODE:
local TweenService = game:GetService("TweenService")
local part = script.Parent
local info = TweenInfo.new(
2,
Enum.EasingStyle.Sine,
Enum.EasingDirection.Out,
0,
false,
3
)
local goal = {
part.Size == Vector3.new(20,1,16)
}
local Tween = TweenService:Create(part, info, goal)
Tween:Play()
also you have to do an index in the goal table instead of part.size just do Size, if u want automatic autocomplete u can type set it by doing local goal :Part = {}
goal.Size = etc