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

What does this script do?

What does this script mean? Can you guys fully explain to me what this script does?

for _,Player in pairs(game.Players:GetPlayers()) do

1 answer

✓ Accepted answer

It's a unfinished loop, it will go through the players and whatever you want to do with them you would in this case use Player and then do as you want, kick them Player:Kick(), kill them Player.Character:BreakJoints(). But like I said, it's unfinished, you need a end at the end of the loop.

1 comment

0

I closed your question because it was a duplicate, the notification will ALSO include this link. https://scriptinghelpers.org/questions/5619/what-is-_letter-and-whats-the-difference-between-pair-and-pairs

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