I don't know why. I did everything like its supposed to be like.
Script:
script.Parent.MouseButton1Click:connect(function()
repeat
wait(0.000000000000000000000000000000000000000000000000001)
script.Parent.Parent.Frame.Position = script.Parent.Parent.Frame.Position + UDim2.new(0,5,0,0)
until script.Parent.Parent.Frame.Position == UDim2.new(0,200,0,100)
end)
lol ignore the wait(0.000000000000000000000000000000000000000000000000000001)

1 comment
the wait() function has a limit, you know. 0.03 seconds. You can just use wait() to get the same result.