Hey, so I really remember reading up on there being some event or function I could use to determine once a tween created with TweenService has completed.
Is there any way to do this?? Thanks.
Hey, so I really remember reading up on there being some event or function I could use to determine once a tween created with TweenService has completed.
Is there any way to do this?? Thanks.
That is Tween.Completed
local t = game:GetService("TweenService"):Create(datahere)
t.Completed:Connect(function()
end)
I usually create a function to play and :Wait
on Completed:
function playSync(tween)
tween:Play()
tween.Completed:Wait()
end
It saves writing it a billion times.