Tween going the wrong direction, cannot fix

Hey! title says it I just need the tween to do the exact same but go down rather then up

TweenObject:TweenSize(, 0, 0.010, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Sine,CD)

0.071 -- X value , 0, 0.010 -- Y value , 0
Make the y value -0.010
If its going the opposite where you want it to go then make the positive a negative or make the negative a positive.

I appreciate it, but this didn’t work. still doing the same thing as before

Also, since you are putting the Offset to 0, I’d recommend using:

UDim2.fromScale(0.071, 0.010)

This is the same as putting them as zero, but easier to read.

Also, I’m guessing your issue is with the grey box decreasing in size from bottom to top? Do you wish for it to decrease in size from top → bottom?

Rather than tweening the size why dont you tween the position?

Sure, that works, but it looks better tweening the size. No need activate ClipsDescendants which is easy to forget.

Yes, I want it to go top to bottom, and thanks I’ll change that

Tween position and size you mean? I tried that but had the same effect

If that’s the case, make sure positional properties are correct.
(This is assuming that gray box is a child of the tool box).
On your grey box, set the following:

box.Position = UDim2.fromScale(0, 1)
box.AnchorPoint = UDim2.fromScale(0, 1)

I would recommend setting these in the properties tab rather than in the script.