Advertisement
BruceWplays

stlauncher

Oct 1st, 2022 (edited)
839
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.95 KB | None | 0 0
  1. if fs.exists("AndysPrograms/api/update") == false then
  2.     fs.makeDir("AndysPrograms/api")
  3.     shell.run("cd","AndysPrograms/api")
  4.     shell.run("pastebin","get","1niw24Vd","update")
  5.     shell.run("cd","..")
  6.     shell.run("cd","..")
  7. end
  8. launcherargs = {...}
  9. fudargs = "sleep(5)\nshell.run(\"craft\", \"noset\")"
  10. --print (fudargs)
  11. --sleep (5)
  12. farmlauncherloop = 1
  13. while true do
  14.     shell.run("AndysPrograms/api/update", "gt", "a3GBewNp", "AndysPrograms/api", "none", "none")
  15.     local stu = fs.open("startup.lua", "w")
  16.     stu.write(fudargs)
  17.     stu.close()
  18.     shell.run("AndysPrograms/api/update", "st", "4ZPE413Z", "AndysPrograms/st", "none", "no", unpack(launcherargs))
  19.     os.loadAPI("AndysPrograms/craft/craft")
  20.     if farmlauncherloop > 5555 then
  21.         launcherargs = {"noset"}
  22.     end
  23.     shell.run("AndysPrograms/st/st")
  24.     sleep(0)
  25.     if farmlauncherloop < 100 then
  26.         farmlauncherloop = farmlauncherloop + 1
  27.     end
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement