Advertisement
A_GUES

Hydroxide script

Jul 9th, 2023
2,156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.64 KB | None | 0 0
  1. -- Define the owner and branch for your GitHub repository
  2. local owner = "Upbolt"
  3. local branch = "revision"
  4.  
  5. -- Function to import and execute a file from the web
  6. local function webImport(file)
  7.     -- Format the URL with the owner, branch, and file names
  8.     -- Then, fetch the file content with HttpGetAsync and load it as a Lua script
  9.     -- Finally, execute the loaded script
  10.     return loadstring(game:HttpGetAsync(("https://raw.githubusercontent.com/%s/Hydroxide/%s/%s.lua"):format(owner, branch, file)), file .. '.lua')()
  11. end
  12.  
  13. -- Use the webImport function to import and execute specific files
  14. webImport("init")
  15. webImport("ui/main")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement