Trying to loop through a table in order

Also how would I check when their are no more classes remaining?

Put wait under the function :slight_smile:

for index, class in ipairs(classesToday) do
	typeWrite(textLabel, "Class is "..class)
	--// Wait time
	wait(1)
end

This will yield btw.

1 Like

Ok. Thanks for your help!!! :smiley:

Wait wouldnt that change how long till each letter is typed?

Nope it will wait for class to end or whatever you want.

Ok! But I did remove the custom times for each day because early days will just have less classes not less time for each class. So will this still work?

1 Like

Great. Just when I thought this topic gets to die i have more work to do.

how would i integrate periods into this system. lol.

Please don’t advertie your topic here. someone will reply soon enough if it is in the right catagory.

[Bump] Im bumping this topic. Its priority keeps rising.