Tween Service any way not to use wait to wait?

im just making a ability. so when i used tween service the code felt very nooby. The tween is a function.

HitEffectBall()
wait(0.3)
HitEffectBall()
wait(0.3)
HitEffectBall()
wait(0.3)
HitEffectBall()
wait(0.3)
HitEffectBall()
wait(0.3)
HitEffectBall()
wait(0.3)
HitEffectBall()

so is there any way to not use the wait to wait and i tried using repeat but there is no wait in repeat or is there?

Do a search for tween ended/finished type of thing. TweenBase | Roblox Creator Documentation
Also using wait() is now better to use task.wait() if you do find yourself using it :slight_smile:

1 Like

Tween.Completed:Wait() is what ur looking for, pretty simple

2 Likes