Ipairs/pairs going randomly through objects

hey, i have a problem with a script that is caused by ipairs/pairs, instead of going through everything in correct order it goes randomly

1 Like

Ok, can you show us your code?

1 Like

If you’re going through instances it’s because they don’t get created in an order.

You’ll have to use table.sort if you are.

1 Like

can we see the code by any chance

1 Like

ty this worked and also sorry for not including the code i forgot

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.