#How to make a WORD by WORD (not letter) animation

1 messages · Page 1 of 1 (latest)

lean cave
#

My idea is to make a word by word animation such as
Sentence = "Hello my name is noobyrequiem"

print(Hello)
print(Hello my)
print(Hello my name)
print(Hello my name is)
print(Hello my name is noobyrequiem)

river jasper
#

Theres a bunch of tutorials about this but in short: you can do string.split() to split the sentence. Just make sure to do string.split(string, " ") so it spilts every time a space is detected

lean cave
river jasper
#

Yeah just assign a variable and make a for loop that adds every word to the text every 0.3 seconds or sum

#

Local array = string.split(dialoge, " ")

#

For i, v in array do

#

Task.wait(0.2)

#

Guitext.text = guitext.text .. " " .. v

#

End