Advertisement
Guest User

update.lua

a guest
Apr 3rd, 2020
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.34 KB | None | 0 0
  1. rod = fs.exists("rod")
  2. if rod == true then
  3.     fs.delete("rod")
  4. else
  5.     print("lol")
  6. end
  7. local response = http.get("https://pastebin.com/raw/x2CiCcbX")
  8. if response then
  9.     local content = response.readAll()
  10.     response.close()
  11.     local file = fs.open("rod", "w")
  12.     file.write(content)
  13.     file.close()
  14. else
  15.     print("fuk")
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement