14 lines
341 B
Lua
14 lines
341 B
Lua
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")
|
|
|