Advertisement
BruceWplays

Craft V5 Launcher

Sep 28th, 2022 (edited)
1,051
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.94 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", "craft", "N5zTVskN", "AndysPrograms/craft", "none", "no", unpack(launcherargs))
  19.     os.loadAPI("AndysPrograms/craft/craft")
  20.     if farmlauncherloop > 1 then
  21.         launcherargs = {"noset"}
  22.     end
  23.     craft.craft(launcherargs)
  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