Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can we be use Tables in Studio?

Asked by 3 years ago
Edited 3 years ago

What can do and use the tables?


for i,v in pairs(--What do you put here for?) do end)

1 answer

Log in to vote
0
Answered by 3 years ago

Just like an ordinary loop through the explorer you can do an ordinary loop through a table..

local t = {'big','small','ugly','cute'}

for _, v in pairs(t) do
    print(i,v)
end

prints the ranking corresponding with the value of the table.

0
how did u even understand this question Gey4Jesus69 2705 — 3y
0
i really didnt LOL greatneil80 2647 — 3y
Ad

Answer this question