Answers for "roblox studio does the index in a loop always stay the same"

Lua
5

loop true childs roblox

for i,v in pairs(game.Players:GetChildren()) do
-- v is your player
end
Posted by: Guest on August-09-2020
0

roblox for loop

local Table = {"Hello", 1234, "Whatever"}

for i, Entry in pairs(Table) do
	print(i)
	print(Entry)
end

--> 1
--> Hello

--> 2
--> 1234

--> 3
--> Whatever
Posted by: Guest on November-15-2020

Code answers related to "roblox studio does the index in a loop always stay the same"

Browse Popular Code Answers by Language