Advertisement
Peerapat_PKY

Load Nex

Mar 28th, 2024
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. print("Load Nex")
  2. repeat wait(10) until game:IsLoaded()
  3. if not game:IsLoaded() then
  4. game.Loaded:Wait()
  5. end
  6. Nexus_Version = 104
  7. local FileName, Success, Error, Function = 'ic3w0lf22.Nexus.lua'
  8. if isfile and readfile and isfile(FileName) then -- Execute ASAP, update later.
  9. Function, Error = loadstring(readfile(FileName), 'Nexus')
  10. if Function then
  11. Function()
  12. if Nexus then Nexus:Connect() end
  13. end
  14. end
  15. for i=1, 10 do
  16. Success, Error = pcall(function()
  17. local Response = (http_request or (syn and syn.request)) { Method = 'GET', Url = 'https://raw.githubusercontent.com/ratezpro/zxc/main/UwU.lua' }
  18.  
  19. if not Response.Success then error(('HTTP Error %s'):format(Response.StatusCode)) end
  20.  
  21. Function, Error = loadstring(Response.Body, 'Nexus')
  22.  
  23. if not Function then error(Error) end
  24.  
  25. if isfile and not isfile(FileName) then
  26. writefile(FileName, Response.Body)
  27. end
  28.  
  29. if not Nexus then -- Nexus was already ran earlier, this will update the existing file to the latest version instead of re-creating Nexus
  30. Function()
  31. Nexus:Connect()
  32. end
  33. end)
  34.  
  35. if Success then break else task.wait(1) end
  36. end
  37. if not Success and Error then
  38. (messagebox or print)(('Nexus encountered an error while launching!\n\n%s'):format(Error), 'Roblox Account Manager', 0)
  39. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement