I’m making a combo counter for my combat system and I want to animate the UI where it starts off large and becomes smaller.
I use this script to animate and resize the UI.
ComboCount.Size = UDim2.fromScale(0.396, 0.7)
Helper:TweenSize(ComboCount, UDim2.fromScale(0.396,0.485)
However, the position of the UI is signficantly offsetted once the tween finishes.
This is what the UI should look like with the size of 0.396 and 0.485
.