Is there a faster way of changing text rather than doing it the way below?
TextBox.Text = "W" wait(.05) TextBox.Text = "We" wait(.05) TextBox.Text = "Wel" wait(.05) TextBox.Text = "Welc" wait(.05) TextBox.Text = "Welco" wait(.05) TextBox.Text = "Welcom" wait(.05) TextBox.Text = "Welcome"
Yes, there is, and it requires using a for loop;
--
local Welcome = "Welcome" --Heres our string for i = 1, #Welcome do --Heres our for loop TextBox.Text = Welcome:sub(1,i)) --It is going to doing something like this each 0.05 seconds; w, we, wel, welc, welco, welcom, welcome wait(.05) --Waits 0.05 seconds before putting the next character end --The end for the for loop
Hope this helped!
Yes just do it WEL WELCO WELCOME
try this that what i did