Basically, I am using the typewriter effect that I asked about in my previous question. I am trying to do that for many strings and noticed that it would become quite lengthy. Please do not hesitate to answer because I will be grateful and will try each of them. Thank you in advance for any help you give.
local username = script.Parent.Parent.Parent.Parent.Name
local Time1 = .1
---------------------------------------Strings--------------------------------------------
local str = "Hello, "..username
local str2 = "Sample"
local str3 = "Sample"
local str4 = "Sample"
local str5 = "Sample"
------------------------------------------------------------------------------------------
for i = 5,#str do
local substr = str:sub(1,i)
script.Parent.Text = substr
wait(Time1)
end
wait(1)
for i = 5,#str2 do
local substr = str2:sub(1,i)
script.Parent.Text = substr
wait(Time1)
end
wait(1)
for i = 5,#str3 do
local substr = str3:sub(1,i)
script.Parent.Text = substr
wait(Time1)
end
wait(1)
for i = 5,#str4 do
local substr = str4:sub(1,i)
script.Parent.Text = substr
wait(Time1)
end
wait(1)
for i = 5,#str5 do
local substr = str5:sub(1,i)
script.Parent.Text = substr
wait(Time1)
end

2 comments
Lol, you explained quite a bit more than I did. Upvoted
I'll upvote your answer too since you practically had the same idea as me.