Resize Part of a Single Side using TweenService

I am looking to change the size of a part on based on a certain surface using TweenService, but I am unsure of how to utilize this in a way so that it would smoothly change the size.
:Resize() will not work with TweenService, and I’ve attempted to adjust the CFrame as it’s resized:

ts:Create(plate, TweenInfo.new(15, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {Size = Vector3.new(plate.Size.X, plate.Size.Y + self.Amount, plate.Size.Z), CFrame = plate.CFrame * CFrame.new(0, plate.Size.Y / 2, 0)}):Play()
-- does not fix the problem, it still resizes the way I don't want

You can try to change its size and position making it appear that it does not move, it would just be playing with the numbers

Instead of plate.Size.Y / 2 you should try self.Amount / 2

1 Like