I got bored and decided to try and create a system that takes a piece of text, makes individual text labels that contain one letter of it, and then tween each part to make a wavy-like effect where each letter bounces up and down following the one before it.
When I was trying to make a function which would drag each letter downright, while the bouncing effect played, both tweens (that affected the position of each letter) would have an effect that, from what it looked like, combined both of their forces and caused each letter to barely move upright.
In other words, is it possible to break the net force that is caused by both of the tweens?
Yes, it is possible to have two parallel tweens as long as they are not interfering with the same property, i.e. transparency and color.
What you are describing is clearly altering the same property (position) and you’ll have to sequentially do the tween in a manual loop or use a reversal infinite loop tweeninfo. I’ll provide the code from dev api.
local tweenInfo = TweenInfo.new(
2, -- Time
Enum.EasingStyle.Linear, -- EasingStyle
Enum.EasingDirection.Out, -- EasingDirection
-1, -- RepeatCount (when less than zero the tween will loop indefinitely)
true, -- Reverses (tween will reverse once reaching it's goal)
0 -- DelayTime
)