Because he don’t know about ipairs and always used pairs instead when iterating through array.
1 Like
Ipairs is used for Arrays (mainly) pairs I use more for parts cause it doesn’t maintain the key order and the order doesn’t matter since there all named the same thing. @thebossnnoy
1 Like
However ipairs is faster and if its made for arrays, use it for arrays.
1 Like
ipairs is great for iterating through a table but pairs are better for parts the performance also is way too minuscule to say it’s faster.
Take a look at this Article as well - Battle of the Loops: Luau Edition | by Stephen | Medium
1 Like