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)