Why is my gui scaled tween not working?

I’m trying to make this image gui act like a cooldown, flattening out and going down at the same time.

Local Script on Gui (testing):

cooldown:TweenSizeAndPosition(UDim2.new({0.063, 0},{0, 0}),UDim2.new({0.308, 0},{0.982, 0}),Enum.EasingDirection.Out, Enum.EasingStyle.Linear,5) -- new positions and sizes i got by sizing and positioning it myself

Original Size:{0.063, 0},{0.114, 0}
Original Position: {0.308, 0},{0.868, 0}

So when I join in-game the gui goes far far top left and then shrinks into nothing. I don’t get whats happening, and I tried other sizes and positions, but they have the same result. I don’t know what is happening, and how to fix this. Also, I used a gui plugin that auto-matically scales guis and I use it. Plugin Name: AutoScale Lite

Footage: https://gyazo.com/02796b877ce2b21234b8befad3dc30c0

1 Like

Remove the curly brackets, you don’t need them.
cooldown:TweenSizeAndPosition(UDim2.new(0.063, 0, 0, 0),UDim2.new(0.308, 0, 0.982, 0),Enum.EasingDirection.Out, Enum.EasingStyle.Linear,5)

2 Likes

aaaaaaaaaand it worked… why do my problems have such easy answers… thx anyway