I have to use Tweens in my project and detect when they finish to start the new leg (new tween). This should work normally, but I noticed that I have stack overflow due to function that makes tween is repeating over and over.
The problem is that I call it only 2 times, one to initiate test, second when previous Tween is finished. For 2nd call I use option of Tween.Completed
event, but it’s just calling even before the tween was started.
Tween = TweenService:Create(instance,param,reach)
TweenEvent = Tween.Completed:Connect(functiontoserve)
--Tween:Play()
The fact that tween calling function is in comment… makes this so strange. Is it possible that Completed event fire even before tween starts?