Need some ideas on how to fix this dialogue system

Hello, I have been in the process of changing my game to Knit. Everything has worked very well so far besides this. Whenever i call this it just will not give me the text even though the code right below it still works. the only part that doesnt work is this part.

for i = 1,#fulltext do
		text = fulltext:sub(1,i)
		print("after this it will change text to letter")
		dialogframe.npcDialogue.Text = text
		wait()
	end 

(the print is there because i was testing earlier)

Are you sure it’s that block of code? It seems to work for me.
Can you be more specific about what is wrong?

Also a side note, consider changing the wait() statements to task.wait(), as wait() is depreciated and just generally worse.

It was actually an issue due to another function i was using! I’ve been trying to use task.wait more but sometime it slips my mind. Thanks!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.