Help tweening part

Im getting this error when trying to tween a part


edit: removed code

Hey ppwwppw2! It seems like you are trying to tween coffeePart without having EasingStyle or EasingDirection.

“coffeePart:TweenSize(UDim2.new(0.882, 0.937, 1),1,3,1.3)”

An example of how to properly tween a size is as follows:

game:GetService("TweenService"):Create(coffeePart, TweenInfo.new(5.6, Enum.EasingStyle.Quad), {Size = Vector3.new(0.882, 0.937, 1)}):Play()

Also to add onto this, you don’t use UDMI2 for parts, you use that for GUIObjects.

I fixed it by changing a few things following the solution to this post Tweening Part Size - #9 by BIueMalibu

1 Like