Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What is Pairs?

I read other forum posts and wiki,still don't understand what is Pairs. Can someone explain it more easier to understood?

2 answers

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()

2 comments

0

"i,v" means i to v or i and v?

0

its including both i and v in the cycle.

This discussion is preserved as it was. New answers, comments, and votes are closed.