Help w/ textlabel tables

How long did the text get delayed when you first added wait().

I never added wait(). i added wait (time here), which made the letters display longer

You arent supposed to add a number (I donā€™t know what the hell you thought it was gonna do with time here), Nor do you add a space. Just put the wait where it was and exactly like this

wait()

I donā€™t know how a PC is supposed to understand ā€œTime Hereā€. Itā€™s also not a person, so adding spaces will not work. (you need to keep the brackets)

as in Time Here i meant the number i put like wait(2)

Also, putting wait() where I p ut it before does absolutely nothing. No pauses inbetween his phrases.

That doesnt matter.
DO
NOT
ADD
A
NUMBER!!!

So how did it make a delay if it also didnā€™t make a delay

Because I LITERALLY TOLD YOU THAT the WAIT i added had a TIME in it, like wait(2) WHICH delayed the letters

I removed that now, but I want a script that can make pauses inbetween sentences

So donā€™t use the 2. Use nothing. Do not add anything donā€™t add zero, just donā€™t add anything but wait(). Just wait() Do not alter it in any way

I did. It did absolutely nothing. Still no pause inbetween the sentences. Where do you want me to put the wait() anyway?

Paste in the script and I will try it myself

script.Parent.BillboardGui.MainFrame.Visible = true
	local messages = {
		"hey",
		"hil.",
		"hello:",
		"wsp.",
		"brah.",
		"this is just a placeholder.",
		"water",
		"test"
		
		}


	local textlabel = script.Parent.BillboardGui.MainFrame.Dialogue1
	
	local function writetext(object,length)
		for i,v in pairs(messages) do
			for i = 1, #v do
				object.Text = string.sub(v,1,i)
				wait(length)	
			end
		end
	end
	


	writetext(textlabel,0.06)

'dyou try this?
image

What do you mean?

image

It is supposed to be that. He is supposed to say his sentence out at quick speed, but create a pause between the sentences.

As in, for example he says ā€œheyā€ quickly, but thereā€™s a 1 second pause before he says ā€œhil.ā€

script.Parent.BillboardGui.MainFrame.Visible = true

local messages = {
	"hey",
	"hil.",
	"hello:",
	"wsp.",
	"brah.",
	"this is just a placeholder.",
	"water",
	"test"
}

local textlabel = script.Parent.BillboardGui.MainFrame.Dialogue1

local function writetext(object, length)
	for i, v in ipairs(messages) do
		for j = 1, #v do
			object.Text = string.sub(v, 1, j)
		end
		wait(1) -- Add a 1-second wait after each message
	end
end

writetext(textlabel, 0.06)