So I'm currently working on the UI for my game and I am something tween, but as it tweens it stretches in the exact opposite direction that I want it to... I think its a gui error, not a script error but here is the script anyways:
script.Parent.RunningCool:TweenSize( UDim2.new(0.026, 0,0.049, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 20)
and a gif of what's happening: https://gyazo.com/b011cb1ebf9d45377c280e8b0420854d
Unlike parts in the workspace, GUI elements are positioned in relation to the top left corner. So they will always stretch right and/or down. To stretch them up and/or left, you'll need to tween position as well. I can not fill the numbers for you, as I would have to know initial size and position. But you can do it yourself, all you need to find is the new left top corner position.
script.Parent.RunningCool:TweenSizeAndPosition( UDim2.new(0.026, 0,0.049, 0), UDim2.new(0,0,0,0), --replace zeroes with new top left corner position Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 20)
dont listen to this noob, to move a gui you do need UDim so you got that part but the thing you are doing wrong if it still moves in the wrong direction is you need other numbers, make sure the position you want the gui on is that position you got in the script