Is there a way I could improve this script, well firstly it doesn't seem to work also, I am planing to add a:
while TextButtonCanMove == true do
then allow it to + 0.05 to the UDim2.new() but I am not sure how to, any help would be good.
TextButton.Position = UDim2.new({0.45, 0},{0, 0})
wait(0.2)
TextButton.Position = UDim2.new({0.5, 0},{0, 0})
wait(0.2)
TextButton.Position = UDim2.new({0.55, 0},{0, 0})
wait(0.2)
TextButton.Position = UDim2.new({0.6, 0},{0, 0})
wait(0.2)
TextButton.Position = UDim2.new({0.65, 0},{0, 0})
wait(0.2)
TextButton.Position = UDim2.new({0.7, 0},{0, 0})

1 comment
Remove all curly braces from the inside of UDim2.new(.7, 0, 0 ,0)