--|| VARIABLES ||--
local label1 = script.Parent.Frame.label1
local label2 = script.Parent.Frame.label2
local using = label1
--|| DIALOGUE ||--
local say = {"4","3","2","1"}
--|| TWEENING ||--
local function move(obj, pos)
obj:TweenPosition(pos, "Out", "Quad", 2)
end
--|| SCRIPT ||--
for s = 1, #say do
--|| POSITIONING, TEXT CHANGE, MOVING ||--
using.Position = UDim2.new(-1, 0, 0, 0)
using.Text = say[s]
move(using, UDim2.new(0, 0, 0, 0))
--|| PREPERATION FOR THE NEXT LABEL ||--
if using == label1 then
using = label2
else
using = label1
end
--|| MOVING LAST TEXT OFF ||--
move(using, UDim2.new(1, 0, 0, 0))
wait(3)
end
Is there a way to make it similar to the text in Survivor? I don't know how to explain the way it goes but when it goes out of the frame, instead of staying on the screen, it disappears (not immediately, but a part of it gets hidden until the whole text is outside the frame) I got this script from a Youtube video (and edited it) which uses a surface gui, but not a screen gui.

2 comments
https://gyazo.com/0fa681ddd7a2a233835168498cc347d7 A reference to what I'm saying
Just a little tip do obj:TweenPosition(pos, "Out", "Quad", 2,true) makes the tween go alot faster and smoother