Really weird (And simple) tweenPosition bug

so this is really simple. but its just this. the code is:

local bg = script.Parent

local pos = bg.Position

while true do

bg:TweenPosition(UDim2.new(-1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,5)

bg:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,0.01)

task.wait(0.03)

end

and for some reason, it only moves once and stays in place forever? why??? please help

(No errors either!)
just checked, the position of the ui element at the end is -1,0,0,0, so it doesnt even RUN the 2nd tween?

1 Like

ok i thought tweenPosition yielded the thread, im testing still though so wont mark solution

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.