How to stop script timeout without a wait?

Hello Robloxians, I have a question, how would I go about stopping the error script timeout without using a wait.

My Code:

for i, v in pairs(table.create(10000000,1)) do
      coroutine.wrap(function()
             -- creates object
      end)
end
1 Like