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)
You keep adding 5 to the X Offset, but you're checking if the X Offset is 200 AND the Y Offset is 100, but the Y Offset never reaches 100?
Change line 5 to
until script.Parent.Parent.Frame.Position.X.Offset >= 200