From 82e6aa888a6bee64705742276b033eba2f26967d Mon Sep 17 00:00:00 2001 From: Neoblacks Date: Mon, 28 Jul 2025 21:31:25 +0200 Subject: [PATCH] init --- update.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 update.lua diff --git a/update.lua b/update.lua new file mode 100644 index 0000000..79b067a --- /dev/null +++ b/update.lua @@ -0,0 +1,13 @@ +local CONFIG_URL = "https://raw.githubusercontent.com/Neoblacks/scriptLua/main/script.lua" + +local function downloadFile(url, dest) + local response = http.get(url) + if response then + local file = io.open(dest, "wb") + file:write(response.readAll()) + file:close() + end +end + +downloadFile(CONFIG_URL, "script.lua") +