So, I made the following code change the position of the Screen GUI when the user clicked the text button,
script.Parent.MouseButton1Click:connect (function()
script.Disabled = true
for i = 0.1, 1, 0.1 do
script.Parent.Parent.Position = UDim2.new(0,0,0-i,0)
end
end)
But as stupid as it sound, I don't know how to get the screen GUI back to the position it was with another textbutton. If anyone knows, that's be great.

1 comment
Use TweenPosition on Frames/Buttons/Labels to make it slide smoothly to a certain position.