Mojokojo69

Untitled

Sep 8th, 2023 (edited)
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. local url = "https://www.mediafire.com/file_premium/xumsv09kz6u4k68/siren.dfpwm/file" -- replace with the actual URL
  2. local response = http.get(url)
  3.  
  4. if response then
  5. local content = response.readAll()
  6. local file = fs.open("siren.dfpwm", "wb") -- you can change the destination filename
  7. file.write(content)
  8. file.close()
  9. response.close()
  10. else
  11. print("Failed to download the file.")
  12. end
  13.  
Add Comment
Please, Sign In to add comment