Advertisement
Guest User

2spooky

a guest
Oct 28th, 2012
2,991
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.01 KB | None | 0 0
  1. --Definitely not my best work, first script I've done in Lua 5.2
  2. function draw()
  3.     nissue = {
  4.         "\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[1;33m",
  5.         ",~~~~~~~~~~~~~,                  \027[0;31m..:::::::::.. \027[1;33m                  ,~~~~~~~~~~~~~,\027[1;33m",
  6.         "\027[1;33m:\027[1;32m .-======-,\027[1;33m  : \027[0;31m            ..:::\027[1;37maad8888888baa\027[0;31m:::..              \027[1;33m:\027[1;34mExploit-the \027[1;33m :\027[1;32m",
  7.         "\027[1;33m:\027[1;32m ||\027[0;31mH4CK3R\027[1;32m|# \027[1;33m :       \027[0;31m   .::::\027[1;37md:?88888888888?::8b\027[0;31m::::.          \027[1;33m :\027[0;31m.-------,./|\027[1;33m :\027[1;32m",
  8.         "\027[1;33m:\027[1;32m ||______|| \027[1;33m :\027[1;34m&&&&    \027[0;31m.:::\027[1;37md8888:?88888888??a888888b\027[0;31m:::.    \027[1;34m &&&&\027[1;33m:\027[0;31m{ \027[1;33m VIRUS \027[0;31m  /\027[1;33m :\027[1;33m",
  9.         "\027[1;33m:\027[1;32m |   ___  | \027[1;33m : \027[1;34m  +  \027[0;31m.:::\027[1;37md8888888a8888888aa8888888888b\027[0;31m:::.  \027[1;34m + \027[1;33m  :\027[0;31m \\\027[1;33m DROPPER\027[0;31m 7\027[1;33m :\027[1;33m",
  10.         "\027[1;33m:\027[1;32m |  |\027[1;35m[]\027[1;32m | | \027[1;33m : \027[1;34m   &\027[0;31m::::\027[1;37mdP\027[0;31m\023\022\021\020\019\018\017\016\027[1;37m88888888888\027[0;31m\023\022\021\020\019\018\017\016\027[1;37mYb\027[0;31m::::\027[1;34m&&\027[1;33m    :\027[0;31m  ~.  ,--.( \027[1;33m :\027[1;33m",
  11.         "\027[1;33m:\027[1;32m  `-------' \027[1;33m :    \027[0;31m::::\027[1;37mdP\027[0;31m\024:::::::\015\027[1;37mY888888888P\027[0;31m\024:::::::\015\027[1;37mYb\027[0;31m::::\027[1;33m     : \027[0;31m   '~    `;\027[1;33m :\027[1;33m",
  12.         "\027[1;33m:\027[0;31mReverse-    \027[1;33m :   \027[0;31m::::\027[1;37md8\027[0;31m\001:::::::::\014\027[1;37mY8888888P\027[0;31m\001:::::::::\014\027[1;37m8b\027[0;31m::::\027[1;33m    :\027[1;34mNation's-\027[0;31mData\027[1;33m:\027[1;33m",
  13.         "\027[1;33m:\027[0;31mEngineering  \027[1;33m:  \027[0;31m.::::\027[1;37m88\027[0;31m\002\003\004\005\006\007\008\009\010\011\012\013\027[1;37mY88888P\027[0;31m\002\003\004\005\006\007\008\009\010\011\012\013\027[1;37m88\027[0;31m::::.\027[1;33m    `~~~~~~~~~~~~'\027[1;33m",
  14.         "\027[1;33m `~~~~~~~~~~~~'  \027[0;31m:::::\027[1;37mY8baaaaaaaaaa88P\027[0;31m:\027[1;37mT\027[0;31m:\027[1;37mY88aaaaaaaaaad8P\027[0;31m:::::                  \027[0;31m",
  15.         "\027[0;31m                 :::::::\027[1;37mY88888888888P\027[0;31m::\027[1;37m|\027[0;31m::\027[1;37mY88888888888P\027[0;31m:::::::                  \027[0;31m",
  16.         "\027[1;33m,~~~~~~~~~~~~~,  \027[0;31m::::::::::::::::\027[1;37m888\027[0;31m:::\027[1;37m|\027[0;31m:::\027[1;37m888\027[0;31m::::::::::::::::\027[1;33m   ,~~~~~~~~~~~~~,\027[1;33m",
  17.         "\027[1;33m:\027[1;34m R00T-KITS  \027[1;33m :  \027[0;31m`:::::::::::::::\027[1;37m8888888888888b\027[0;31m::::::::::::::'  \027[1;33m :\027[0;31mHoM3-$w33t\027[1;33m   :\027[1;37m",
  18.         "\027[1;33m:\027[0;31m  ____ \027[1;37m  __ \027[1;33m :   \027[0;31m:::::::::::::::\027[1;37m88888888888888\027[0;31m::::::::::::::   \027[1;33m :\027[1;34m    (I\027[1;33m       :\027[1;33m",
  19.         "\027[1;33m: \027[0;31m|    |\027[1;37m |\027[0;31m-_\027[1;37m| \027[1;33m:\027[0;31m    :::::::::::::\027[1;37md88888888888888\027[0;31m:::::::::::::    \027[1;33m :\027[1;36m^^^\027[1;34m  |\027[1;36m    ^^^\027[1;33m:\027[1;33m",
  20.         "\027[1;33m:\027[0;31m |____|\027[1;33m_\027[1;37m|\027[0;31m=_\027[1;37m|\027[1;33m :\027[0;31m     ::::::::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m:::\027[1;37m88\027[0;31m::::::::::::\027[1;33m      :\027[1;34m|u|_\027[1;36m^^^^^\027[1;34m_|u|\027[1;33m:\027[1;33m",
  21.         "\027[1;33m:\027[1;37m  ____\027[1;33m)\027[1;37m_\027[1;37m.\027[1;37m___\027[1;33m :      \027[0;31m`::::::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m:::\027[1;37m88\027[0;31m::::::::::'      \027[1;33m :\027[1;34m|_  u _ u  _|\027[1;33m:\027[1;33m",
  22.         "\027[1;33m: \027[1;37m/\027[1;34m:::::;\027[1;37m|\027[1;34m  _\027[1;37m)\027[1;33m:\027[1;34m      &\027[0;31m`:::::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m::\027[1;37mP\027[0;31m::::\027[1;37m88\027[0;31m:::::::::'\027[1;34m&       \027[1;33m:\027[1;34m  |__|\027[1;37m;\027[1;34m|__| \027[1;33m :\027[1;33m",
  23.         "\027[1;33m:\027[1;37m `======'\027[1;34m |_|\027[1;33m:      \027[1;34m+ \027[0;31m `:::::::\027[1;37m88\027[0;31m::\027[1;37m88\027[0;31m:::::::\027[1;37m88\027[0;31m:::::::' \027[1;34m  +     \027[1;33m :\027[1;34m    /_/     \027[1;33m :\027[1;33m",
  24.         "\027[1;33m:\027[1;34mUr-Computer-\027[1;33m :\027[1;34m&&&&&&& \027[0;31m   ``:::::::::::::::::::::::''\027[1;34m     &&&&&&&\027[1;33m:\027[0;31mH4x0r-HoM3- \027[1;33m :\027[1;33m",
  25.         "\027[1;33m:\027[1;34mis-MY-\027[0;31mSlave \027[1;33m : \027[0;31m               ``::::::::::::::''\027[1;33m                :\027[0;31m *\027[1;37m127\027[0;31m.\027[1;37m0\027[0;31m.\027[1;37m0\027[0;31m.\027[1;37m1\027[0;31m* \027[1;33m:\027[1;33m",
  26.         "\027[1;33m `~~~~~~~~~~~~'                                                   `~~~~~~~~~~~~'\027[1;33m",
  27.         "\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[0;31m=\027[1;37m-\027[1;37m",
  28.         "\027[0;31m -======-   \027[1;37m  +\027[0;31mWARNING\027[1;37m+\027[1;33m\"\027[0;31mIllegal\027[1;37m_\027[0;31mNetwork\027[1;37m_\027[0;31mConnections\027[1;37m_\027[0;31mBeyond\027[1;37m_\027[0;31mLogin\027[1;33m\"   \027[0;31m    -======-\027[0;31m",
  29.         "\027[0;31m |\027[1;32mH\027[1;34m4\027[1;33mC\027[1;35mK\027[1;36m3\027[1;37mR\027[0;31m|        \027[1;34m -== \027[1;37m You are at the point of \027[0;31mNO RETURN \027[1;34m ==-          \027[0;31m |\027[1;32mH\027[1;34m4\027[1;33mC\027[1;35mK\027[1;36m3\027[1;37mR\027[0;31m|\027[0;31m",
  30.         "\027[0;31m |______|\027[0;31mYour Activities\027[1;37m:\027[1;33mWill\027[1;37m_\027[1;33mbe\027[1;37m_\027[1;33mKeylogged\027[1;37m_\027[1;33mand\027[1;37m_\027[1;33mTimestamped \027[1;34m\"\027[0;31mUSER_BEWARE\027[1;34m\"\027[0;31m|______|\027[0;31m",
  31.         "\027[0;31mHacking Sites\027[1;37m:\027[0;31m https\027[1;37m:\027[1;33m//\027[0;31msites\027[1;37m.\027[0;31mgoogle\027[1;37m.\027[0;31mcom\027[1;33m/\027[0;31msite\027[1;33m/\027[0;31mlazyboxx \027[1;35m*\027[0;31m http\027[1;37m:\027[1;33m//\027[0;31mwww\027[1;37m.\027[0;31mfreebsd\027[1;37m.\027[0;31morg \027[1;33m"
  32.     }
  33.     io.write("\027[1;1H") --reset cursor
  34.     for a = 7,11 do
  35.         for b = 1,24 do
  36.             if b == position then
  37.                 nissue[a] = string.gsub(nissue[a],string.char(b),"\027[1;31m@\027[0;31m")
  38.             else
  39.                 nissue[a] = string.gsub(nissue[a],string.char(b),":")
  40.             end
  41.         end
  42.     end
  43.     for a = 5,21 do
  44.         if bool then
  45.             nissue[a] = string.gsub(nissue[a],"&","\027[31;1m=\027[37;1m")
  46.             nissue[a] = string.gsub(nissue[a],"+","\027[31;1m|\027[37;1m")
  47.         else
  48.             nissue[a] = string.gsub(nissue[a],"&","=")
  49.             nissue[a] = string.gsub(nissue[a],"+","|")
  50.         end
  51.     end
  52.     for i = 1,28 do
  53.         print(nissue[i])
  54.     end
  55.     bool = not bool
  56. end
  57. function changepos(num)
  58.     if position == 24 and num == 1 then
  59.         position = 1
  60.     elseif position == 1 and num == -1 then
  61.         position = 24
  62.     else
  63.         position = position + num
  64.     end
  65. end
  66. position = 14
  67. bool = true
  68. dirs = {1,-1}
  69. draw()
  70. while true do
  71.     move = math.random(1,6)
  72.     dir = dirs[math.random(1,2)]
  73.     draw()
  74.     for m = 1,move do
  75.         changepos(dir)
  76.         draw()
  77.         os.execute("sleep 0.1") --Replace it with some other way to wait one tenth of a second if you're using Windows or don't have "sleep"
  78.     end                         --On the subject of Windows compatibility, Ansicon is a perfect way to make the Ansi escape codes work.
  79. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement