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

A for loop is being skipped over, anyone know how to fix it?

Asked by 5 years ago

A table is returned in this function, I have checked myself.

But for some reason when trying to loop through everything in the table, the for loop is skipped (see code block)

local questions = requestApplication(game.Players:WaitForChild("DevOverr"), "Personnel")
print(1)
for i,v in ipairs(questions) do
    print(v)
end
print(2)

https://devover.uk/i/RobloxStudioBeta_2018-10-07_10-31-52.png

A picture of the output is attached.

0
Fixed this, no need to reply. DevOverr 15 — 5y

Answer this question