When I die, this pops up again.
Text1 = "Man, you are in a terrible situation!"
Text2 = "You need to try to escape this building."
Text3 = "There is no time to be playing around, get going..."
function Type(Text)
local CurrentText = script.Parent.Text
local Length = script.Parent.Text:len()
for i = Length,0,-1 do
wait()
script.Parent.Text = CurrentText:sub(0,i)
end
wait(.5)
local Length = Text:len()
for i = 1,Length do
wait()
script.Parent.Text = Text:sub(1,i)
end
end
wait(3)
Type(Text1)
wait(3)
Type(Text2)
wait(3)
Type(Text3)
wait(3)
Type("")
script.Parent.Parent.Visible = false

2 comments
What do you mean? When you die the script runs again?
Yea