Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

can someone help me with TweenService? i want it when my part grows its stays in that size

Asked by 3 years ago

question: Can somebody please help! when the Tween gets bigger i want it to stay like that for 3 seconds then it will go back how do i fix this?

this is my script:

local TweenService = game:GetService("TweenService") local Grow = script.Parent

local Info = TweenInfo.new( 0.5, ---Length

view source

1 Enum.EasingStyle.Sine, ----easingstyle 2 Enum.EasingDirection.Out, ----e.d 3 0, -----repeat 4 true, ---reverse 5 2 )

local Goals = { Size = Vector3.new(6,6,6);

view source

1 } local makePartBiggerTween = TweenService:Create(Grow, Info, Goals)

wait(10) makePartBiggerTween:Play()

1 answer

Log in to vote
0
Answered by 3 years ago

Just set the reverse to false inside of tween info

0
yes that will work WINDOWS10XPRO 438 — 3y
0
I agree. I've used tweens for as long as they've been out. It will do it. Lincman31B 2 — 3y
0
justin yes but i want it to go back to its original position Rareloljosh21 0 — 3y
0
but before it goes back i want it to wait like 3 seconds Rareloljosh21 0 — 3y
Ad

Answer this question