le_Fish

Untitled

May 4th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. if not fs.exists("digMonitor") then
  2. shell.run("pastebin", "get", "2RMg3kFa", "digMonitor")
  3. end
  4. os.loadAPI("digMonitor")
  5. local monitor = digMonitor.Mon:new()
  6.  
  7. local x = {}
  8.  
  9. for i = 1, 999 do
  10. local t = {1, 2, 3, 4, 5}
  11. a = math.random(1, #t)
  12. local ttt = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}
  13. c = math.random(1, #ttt)
  14. local tt = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20}
  15. d = math.random(1, #tt)
  16.  
  17. if a == 1 then
  18. x[#x + 1] = {i, "paused"}
  19. elseif a == 2 then
  20. x[#x + 1] = {i, "home"}
  21. else
  22. x[#x + 1] = {i, c, d}
  23. end
  24. end
  25.  
  26. monitor:setData(x)
  27. monitor:showData()
  28. monitor:listen()
  29. local x = {{ 1,2,2 },{33,2,3},{44, "Paused"}}
Advertisement
Add Comment
Please, Sign In to add comment