Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

Just set the reverse to false inside of tween info

4 comments

0

yes that will work

0

I agree. I've used tweens for as long as they've been out. It will do it.

0

justin yes but i want it to go back to its original position

0

but before it goes back i want it to wait like 3 seconds

This discussion is preserved as it was. New answers, comments, and votes are closed.