Help with next loop

What does next loop do and in what ways can you use it?

This should give you some knowledge on next.
https://pgl.yoyo.org/luai/i/next

I know the link below is not Roblox but still explanatory since it’s Lua and can apply for Roblox lua.

Also this at the bottom of the page.
https://www.lua.org/pil/7.3.html
But it’s not a great way of using next since pairs internally uses next.

3 Likes

Here this little article helped me figure out how to use it,

1 Like