Advertisement
BigBlow_

Pastebin updater

Jun 18th, 2025 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. -- === Configuration ===
  2. -- Remplace par ton ID Pastebin
  3. local pastebinID = "xxxxxx"
  4.  
  5. -- === Logique principale ===
  6. if fs.exists("startup") then
  7. fs.delete("startup")
  8. print("Fichier 'startup' supprime.")
  9. end
  10.  
  11. print("Telechargement depuis Pastebin...")
  12. local success = shell.run("pastebin get " .. pastebinID .. " startup")
  13.  
  14. if success then
  15. print("Fichier 'startup' installe avec succes.")
  16. else
  17. print("Echec du telechargement depuis Pastebin.")
  18. end
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement