I have a script that would make the text have a sort of typewriter effect. The only problem i have is that i don't know how to get it to reverse.
local String = "Hello World!"
local Length = string.len(String)
for i=1,Length do
script.Parent.Text = (string.sub(String,1,i))
wait(0.06)
end
wait(2)
local String = "Hello World!"
local Length = string.len(String)
for i=1,Length do
script.Parent.Text = (string.sub(String,-1,i)) --Negative 1 instead of 1
wait(0.06)
end
I put -1 instead of 1 but all it did was make the text disappear altogether instead of having that effect in reverse. Any help would be appreciated!

1 comment
Thank you!