Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- program = shell.getRunningProgram()
- oTemp = fs.open("startup", "w")
- oTemp.writeLine("shell.run(\"" .. program .. "\")")
- oTemp.flush()
- oTemp.close()
- letters = {}
- letters[1] = "a"
- letters[2] = "b"
- letters[3] = "c"
- letters[4] = "d"
- letters[5] = "e"
- letters[6] = "f"
- letters[7] = "g"
- letters[8] = "h"
- letters[9] = "i"
- letters[10] = "j"
- letters[11] = "k"
- letters[12] = "l"
- letters[13] = "m"
- letters[14] = "n"
- letters[15] = "o"
- letters[16] = "p"
- letters[17] = "q"
- letters[18] = "r"
- letters[19] = "s"
- letters[20] = "t"
- letters[21] = "u"
- letters[22] = "v"
- letters[23] = "w"
- letters[24] = "x"
- letters[25] = "y"
- letters[26] = "z"
- function event()
- events = {os.pullEventRaw()}
- end
- function tick()
- sleep(.01)
- end
- print("LOL tihs code maks a bucnh of globel variabls lol haha so fune")
- sleep(1)
- while true do
- events = {}
- parallel.waitForAny(event, tick)
- if events[1] == "terminate" then
- print("No ya don't!")
- end
- lettersnum = math.random(2, 10)
- var = ""
- for i = 1, lettersnum do
- char = letters[math.random(1, 26)]
- var = var .. char
- end
- var = var .. "a = \"LOL\""
- makevar = loadstring(var)
- makevar()
- print(var)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement