What is the difference between for i,v in pairs and for i,v in ipairs?
COMMUNITY QUESTION
What is the difference between for i,v in pairs and for i,v in ipairs?
2 answers
ipairs iterates through numerical indexes until it reaches a nil index. pairs iterates through all indexes and ignores nil indexes.
pairs goes through everything even if its nil, ipairs stops when it notices something is nil in the script.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
So if I used ipairs it would go Part, Part, Part, Message and then it would stop.
No.Please reread my answer.