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

Tweening before making it invisible ?

test:TweenPosition(UDim2.new(0.2,0,-1,0),"In","Bounce",true)
wait()
test.Visible = false

It should tween first then make it invisible now what it does is make invisible and tween back without seeing the animation. How'd ya do it ?

1 answer

✓ Accepted answer

You're not setting how long you want the tween to last.

Where the true is, you need to set the number, in seconds, that you want the tween to take.

test:TweenPosition(UDim2.new(0.2,0,-1,0),"In","Bounce",5)
test.Visible = false

Good Luck!

5 comments

0

Still nope.

0

@Bulvyte just add in the duration to the wait e.g. wait(5)

0

I thought the script waited for the tween to end.

0

No unfortunately, the override param means that you can overwrite the previyous tween action. Good for things like a progress bar

0

Nevermind, i made the gui visible all the time and hidden it more logical :)

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