Advertisement
Guest User

install.lua

a guest
Apr 4th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.92 KB | None | 0 0
  1. print "Welcome to the GFly installer."
  2.  
  3. local metaownerAPI = http.get "https://pastebin.com/raw/wAExThgp"
  4.  
  5. if metaownerAPI then
  6.     local rawContent = metaownerAPI.readAll()
  7.    
  8.     write "Enter username: "
  9.     local username = read()
  10.     local content = string.gsub(rawContent, "ownergoeshere", username)
  11.    
  12.     local f = fs.open("metaowner.lua", "w")    
  13.     f.write(content)
  14.     f.close()
  15.    
  16.     print "metaowner.lua installed."
  17. else
  18.     error "metaowner.lua could not be downloaded."
  19. end
  20.  
  21. shell.run "pastebin get EKV6u1HK fly.lua"
  22. print "fly.lua installed."
  23.  
  24. local docs = [[
  25. To start flying, simply run fly.lua.
  26. Simply hold shift to fly in the direction you're looking in.
  27. If you are moving downwards too fast, you should be slowed down.
  28. This system is not infallible, especially in high-lag environments like SwitchCraft.
  29. Please do not copy GFly or related programs without permission.
  30. ]]
  31.  
  32. print(docs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement