Advertisement
zamoth

Untitled

Jul 3rd, 2025 (edited)
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. local pastebinCode = "TMTmFvyw"
  2. local filename = "main.lua" -- change if your script has a different name
  3.  
  4. if fs.exists(filename) then fs.delete(filename) end
  5.  
  6. local ok, err = pcall(function()
  7. shell.run("pastebin", "get", pastebinCode, filename)
  8. end)
  9.  
  10. if not ok or not fs.exists(filename) then
  11. print("Failed to download script:", err)
  12. return
  13. end
  14.  
  15. shell.run(filename)
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement