Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Updates / Installs the Script Manager (scm) from GitHub
- -- Run `pastebin run 1kKZ8zTS`
- -- SCM: https://github.com/mc-cc-scripts/script-manager
- local source = "https://raw.githubusercontent.com/mc-cc-scripts/script-manager/master/"
- local response = http.get(source .. "scmInstaller.lua")
- if response and response.getResponseCode() == 200 then
- local installer = loadstring(response.readAll())
- local scmInstaller = installer()
- local files = scmInstaller:getFilesTxt(source)
- scmInstaller:deleteFiles(files)
- scmInstaller:downloadFiles(source, files)
- else
- error("Failed to download!")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement