Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Sledgehammer--
- --coded by Gavin .S--
- os.pullEvent = os.pullEventRaw
- term.clear()
- term.setCursorPos(1,1)
- write("Please enter modem side: ")
- side = io.read()
- term.clear()
- term.setCursorPos(1,1)
- print("Modem set to" ..side)
- print("Starting Server Attack in")
- print("")
- print("3")
- os.sleep(1)
- print("2")
- os.sleep(1)
- print("1")
- os.sleep(1)
- os.sleep(0.1)
- rednet.open(side)
- y=1
- x=1
- function CrashRoutine_1()
- while true do
- x1=x1+38
- a = io.open("startup","r")
- rednet.broadcast(tostring(math.random(27732651)))
- y=y+1
- if y > 75 then
- y=1
- os.sleep(0)
- end
- end
- end
- function CrashRoutine_2()
- while true do
- x=x+38
- a = io.open("startup","r")
- rednet.broadcast(tostring(math.random(27732651)))
- y=y+1
- if y > 75 then
- y=1
- os.sleep(0)
- end
- end
- end
- function CrashRoutine_3()
- while true do
- x=x+38
- a = io.open("startup","r")
- rednet.broadcast(tostring(math.random(27732651)))
- y=y+1
- if y > 75 then
- y=1
- os.sleep(0)
- end
- end
- end
- while true do
- parallel.waitForAny( CrashRoutine_1, CrashRoutine_2, CrashRoutine_3 )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement