Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Define the owner and branch for your GitHub repository
- local owner = "Upbolt"
- local branch = "revision"
- -- Function to import and execute a file from the web
- local function webImport(file)
- -- Format the URL with the owner, branch, and file names
- -- Then, fetch the file content with HttpGetAsync and load it as a Lua script
- -- Finally, execute the loaded script
- return loadstring(game:HttpGetAsync(("https://raw.githubusercontent.com/%s/Hydroxide/%s/%s.lua"):format(owner, branch, file)), file .. '.lua')()
- end
- -- Use the webImport function to import and execute specific files
- webImport("init")
- webImport("ui/main")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement