Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Update Script for Main.lua
- local shell = require("shell")
- -- Pastebin ID for Main.lua
- local pastebin_id = "aXPSnErq"
- local target_file = "Main.lua"
- -- Print status
- print("Starting update process for Main.lua...")
- -- Execute the pastebin command to fetch the latest version
- local result, reason = shell.execute("pastebin get -f " .. pastebin_id .. " " .. target_file)
- if result then
- print("Update successful! File saved as " .. target_file)
- else
- print("Update failed. Reason:", reason or "unknown error")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement