Problem with tweenposition

Hi its my first time using tweenposition and i have a problem with my code. Can anyone help?

while true do
	script.Parent:TweenPosition(UDim2.new(0.302, 0,0.1, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Linear, 1)
	wait(1)
	script.Parent:TweenPosition(UDim2.new(0.302, 0,0, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Linear, 1)
end
2 Likes

You didn’t specify the issue, but i’m assuming that your 2nd tween is not working. Try adding an extra

wait(1)

after the second tween

1 Like

Ohhh that makes sense now. Thank you so much!

2 Likes

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