I want to have my typewriter function type a string on any length pretty much instantly.
Even when the wait is just wait()
it still takes a considerable amount of time to type each word
I have tried removing the wait entirely, but as expected , it would type the text instantly with no typewriter effect at all.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
Is there anything faster I can use then while wait()?
Here is my function
function write(message, label)
local cr = coroutine.create(function()
for i = 1, #message do
label.Text = string.sub(message, 1, i)
wait() --This is the speed of the text
end
end)
coroutine.resume(cr)
end