Advertisement
TheMadWally

Untitled

Mar 30th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.06 KB | None | 0 0
  1. -- thanks josh
  2. local crash = function(self)
  3.     game:GetService("RunService"):BindToRenderStep(tostring(math.random(1, 1e9)), Enum.RenderPriority.First.Value, function()
  4.         coroutine.resume(coroutine.create(function()
  5.             local a = {}
  6.             local b
  7.             for i = 1, 1000000 do
  8.                 coroutine.resume(coroutine.create(function()
  9.                     for i = 1, 10000 do
  10.                         table.insert(a, i)
  11.                     end
  12.                     table.remove(a, 1)
  13.                     for i, v in next, a do
  14.                         coroutine.resume(coroutine.create(pcall), self, self)
  15.                         for i, d in next, game:GetDescendants() do
  16.                             pcall(d.Changed.Connect, d.Changed, function()
  17.                                 pcall(function()
  18.                                     pcall(d.DescendantAdded.Connect, d.DescendantAdded, function()
  19.                                         coroutine.resume(coroutine.create(pcall), self, self)
  20.                                     end)
  21.                                     pcall(d.DescendantRemoving.Connect, d.DescendantAdded, function()
  22.                                         coroutine.resume(coroutine.create(pcall), self, self)
  23.                                     end)
  24.                                 end)
  25.                             end)
  26.                         end
  27.                     end
  28.                 end))
  29.             end
  30.         end))
  31.     end)
  32. end
  33.  
  34. repeat
  35.     spawn(function()
  36.         crash(crash)
  37.     end)
  38. until nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement