I read other forum posts and wiki,still don't understand what is Pairs. Can someone explain it more easier to understood?
the 2 buddys. i and v are friends. pairs bosses them around. i and v do not like pairs, they stick together. v is the most useful, and i is mostly left out. pairs bosses around v. heres an example of him telling him to get the players:
for i,v in pairs(game.Players:GetPlayers()) do end
now that v has been ordered to do something by pairs, you can use v to do multiple things. in this case, you can kick the players.
v:Kick()
pairs
is an iterator function that will return a new index and its value from a table every time it is called. See the wiki and Lua reference manual