I was looking at a ScriptingHelpers forum to help with a "Typewriter" Effect on a TextLabel, and I can't find out which type of Script I need to use, or if I am doing something wrong? Here is the simple but long script I am using (I am a beginning programmer): wait(3) script.Parent.Parent.Dialog.TextLabel.Text="T" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="Th" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This " wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This i" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is " wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is t" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is th" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is the" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is the " wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is the h" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is the ho" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is the hou" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is the hous" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is the house" wait(0.05) script.Parent.Parent.Dialog.TextLabel.Text="This is the house?" wait(0.05)
I can't find out how to make it work.
It's simple!
local Text = "The quick brown fox jumps over the lazy dog" -- Change this to the text you want local TextLabel = script.Parent.Parent.Dialog.TextLabel for i = 1, #Text do TextLabel.Text = string.sub(text, 1, i) wait(0.05) -- How long for each letter to come out end
If it helped, remember to accept! :D
Closed as Non-Descriptive by hiimgoodpack and BlackOrange3343
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?