roblox for looops 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: for i = 1 to n roblox
local n = 10
for i = 1, n do
print('monke god')
end