I’m trying to make a GUI that gives tips, it’s supposed to come down from the top of the screen and then go back up and out of view and then come back down with a different tip. Right now it comes down, goes back up, and stays there. I’m not sure why because I had run it a few times before and it had worked fine for a few days then it randomly stopped working.
local text = script.Parent
while true do
text.Text = "Tip 1"
text:TweenSizeAndPosition(
UDim2.new(0, 1087,0, 32),
UDim2.new(0.117, 0,0, 0),
"Out",
"Quad",
1.5,
false
)
wait(25)
text:TweenSizeAndPosition(
UDim2.new(0, 1087,0, 32),
UDim2.new(0.127, 0,-0.309, 0),
"Out",
"Quad",
1.5,
false
)
text.Text = "Tip 2"
wait(1)
text:TweenSizeAndPosition(
UDim2.new(0, 1087,0, 32),
UDim2.new(0.117, 0,0, 0),
"Out",
"Quad",
1.5,
false