Could you please explain to me what is string.sub? It is pretty useful, as I saw some uses of it, like this one:
local Text = "Type in anything you want"
for i = 1, #Text do
wait(0.05)
script.Parent.Text = string.sub(Text, 1, i)
end
Could you please explain to me what is string.sub? It is pretty useful, as I saw some uses of it, like this one:
local Text = "Type in anything you want"
for i = 1, #Text do
wait(0.05)
script.Parent.Text = string.sub(Text, 1, i)
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Visit https://scriptinghelpers.org/questions/15841/what-is-stringsub-and-how-do-you-use-it
Okay!