Answers for "roblox lua for loop"

Lua
21

lua for loop

-- For K,V in table
for k,v in pairs(tbl) do
 print(k)
 print(v)
end
-- For i=0, num
for i=0, num do
 print(i)  
end
Posted by: Guest on April-17-2020
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

forever loop roblox lua

while true do
	print("Hello")
end
Posted by: Guest on February-08-2021

Browse Popular Code Answers by Language