how many while loops can you have in roblox code example
Example 1: for i = 1 to n roblox
local n = 10
for i = 1, n do
print('monke god')
end
Example 2: roblox repeat until
repeat
spawnGoblin()
currentGoblinCount = currentGoblinCount + 1
print("Current goblin count: " .. currentGoblinCount)
until currentGoblinCount == 25