how to make an infite loop in roblox code example
Example 1: 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
Example 2: how to loop something in roblox
while true do print("Looping...") wait(0.5)end