i know that the "v" stands for the current object being targeted by the script at the time and the pairs() stands for the list of objects you want to sort through, but what purpose does "i" serve? what can it be used for?
for i, v in pairs(game.workspace.model:GetChildren()) do
if v.Name == "Part" then
v.Name = "ScriptAccessed"
wait(1)
end
end

1 comment
thank you.