While making tweens i notice that the part isn’t perfectly on its right position.
My Expectation for part is the part is growing on its Y Axis without moving the position
what happen is :
Script :
wait(10)
local Info = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local Size = {
Position = Vector3.new(script.Parent.CFrame.X, script.Parent.CFrame.Y + 11 , script.Parent.CFrame.Z),
Size = Vector3.new(24, 11, 22)
}
TweenService:Create(script.Parent, Info ,Size):Play()
wait(1)
local Info = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local Size = {
Position = Vector3.new(script.Parent.CFrame.X, script.Parent.CFrame.Y - 11, script.Parent.CFrame.Z),
Size = Vector3.new(24, 1, 22),
}
TweenService:Create(script.Parent, Info ,Size):Play()