how to make a repeat on roblox code example
Example 1: repeating loop roblox
while true do
-- Your script here
-- Every loop needs a wait increment, or your game might crash
wait(1)
end
Example 2: 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