I started learning scripting a few days ago and now I’m met with a huge hurdle I had all this time, which is not knowing how to use a table, and the main focus here is making a typewriter effect. I’ve seen quite a number of posts here and used free models but to no avail. I can’t seem to find an exact solution to what I am trying to do here.
This is essentially what I am trying to do:
assetLoaded.Text = "L"
task.wait(0.1)
assetLoaded.Text = "Lo"
task.wait(0.1)
assetLoaded.Text = "Loa"
task.wait(0.1)
assetLoaded.Text = "Load"
task.wait(0.1)
assetLoaded.Text = "Loadi"
task.wait(0.1)
assetLoaded.Text = "Loadin"
task.wait(0.1)
assetLoaded.Text = "Loading"
task.wait(0.1)
while true do
assetLoaded.Text = "Loading."
task.wait(0.1)
assetLoaded.Text = "Loading.."
task.wait(0.1)
assetLoaded.Text = "Loading..."
task.wait(0.1)
end
Obviously this looks tedious and inefficient, which is why I need someone to help explain to me how to do this better using tables (if it is because I’ve tried but I don’t how to convert the table into a string)
Thank you.