So basically I want a typing Gui, by this I mean something like this:
script.Parent.Text = "H"
wait(0.1)
script.Parent.Text = "He"
wait(0.1)
I know it has to do something with for, but I am not sure how. Help please?
So basically I want a typing Gui, by this I mean something like this:
script.Parent.Text = "H"
wait(0.1)
script.Parent.Text = "He"
wait(0.1)
I know it has to do something with for, but I am not sure how. Help please?
local msg = "Message"
for i = 1, msg:len() do
script.Parent.Text = msg:sub(1, i)
wait(0.1)
function addWord(GUI, word, betweenTime)
for v in string.gmatch(word, ".") do --For every letter in the word
GUI.Text = GUI.Text..v --Add the letter to the GUI's text.
wait(betweenTime)
end
end
addWord(script.Parent, "Hello, " 0.1)
addWord(script.Parent, "World!", 0.05)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
It would be great if there was a type of :Tween for this.