Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Table Info Getter?

I want to scroll through all the items in a table. How would I do so?

1 answer

Simplest way:

local table1 = {"test","test2")
	
for i,v in pairs(table1) do
	print(v)
end

Counting table elements:

local table1 = {"test","test2")
	
print(#table1)

3 comments

0

I know you can do this. But is there a way you can do so, kind of like how it does #table1

0

I don't understand what you're asking for

0

Nevermind, Lol.

This discussion is preserved as it was. New answers, comments, and votes are closed.