I’m having a problem (only on mobile for some reason) where this script stops
local Out = TweenService:Create(Frame, TweenInfo.new(1), {Position = UDim2.new(0.5, 0, 0, 0)})
Out:Play()
Out.Completed:Wait()
And I assume that’s because the tween might have finished before the script got to the :Wait(), and thus causing an infinite yield. So I tried
local Out = TweenService:Create(Frame, TweenInfo.new(1), {Position = UDim2.new(0.5, 0, 0, 0)})
Out:Play()
if not Out.Completed then
Out.Completed:Wait()
end
But that doesn’t wait at all (the scripts continues before the tween has finished)