How can I tween multiple tweens at once

So I have a door composed of different elements which I want all of them to tween at the same time. The old classic way to tween is to go like:

Tween1:Play()
Tween2:Play()

But I can’t really do this because it waits for Tween1 to finish and the goes on to play Tween2. How can I play them all at once though?

2 Likes

Tweens do not yield

You tween all properties of an instance via the same tween. You can put as many properties as you want in the properties table as the third parameter.

TweenService:Create(instance,TweenInfo.new(),{--put properties in here})
1 Like

I’m not talking about the properties right now. All I want to know is if I have a line of code like this:

Tween1:Play()
Tween2:Play()

Tween1 and Tween2 would both play at the same time?

Yes

1 Like

All that was needed, thank you

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.