How to make a size reducing drink

Hello everyone! I am wondering how I can make a drink reduce in size.

I have the weld and animation script, I am assuming this is fairly simple. All I need to do is make it so after the animation plays, the drink inside of the glass reduces in size a bit. How can I do that?

Thank you!

Use tween service and make the drink’s Y size lower

local scale = 0.1 -- 10%

local partSize = liquidPart.Size
local goal = {Size = Vector3.new(partSize.X, partSize.Y*scale, partSize.Z}
local tween = ts:Create(liquidPart, TweenInfo.new(1), goal)

tween:Play()

check out the TweenService and the code above, you can use the “Scale” value to set the size based on percentage. (if neccassary)

and instead of playing the tween after the drinking animation, you could play both at the same time.