Haloxx

hub load

Jan 19th, 2023 (edited)
629
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.29 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet('https://raw.githubusercontent.com/UI-Interface/CustomFIeld/main/RayField.lua'))()
  2. local Player = game:GetService("Players").LocalPlayer
  3.  
  4. local Window = Rayfield:CreateWindow({
  5. Name = "Halo Hub",
  6. LoadingTitle = "ðŸŽŪ " .. game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name .. " ðŸŽŪ",
  7. LoadingSubtitle = "By Haloxx",
  8. ConfigurationSaving = {
  9. Enabled = true,
  10. FolderName = "Halo Hub",
  11. FileName = game.PlaceId.. "-".. Player.Name
  12. }
  13. })
  14.  
  15. repeat task.wait() until Window
  16.  
  17. local function Notify(Message, Duration, Buttons)
  18. Rayfield:Notify({
  19. Title = "ðŸŠī Halo Hub",
  20. Content = Message,
  21. Duration = Duration or 5,
  22. Image = 4483362458,
  23. Actions = Buttons,
  24. })
  25. end
  26.  
  27. local exLink
  28. local function SetReExecuteLink(link)
  29. exLink = tostring(link)
  30. end
  31.  
  32.  
  33. local function GetExploit()
  34. return
  35. (secure_load and "Sentinel") or
  36. (is_sirhurt_closure and "Sirhurt") or
  37. (pebc_execute and "ProtoSmasher") or
  38. (KRNL_LOADED and "Krnl") or
  39. (WrapGlobal and "WeAreDevs") or
  40. (isvm and "Proxo") or
  41. (shadow_env and "Shadow") or
  42. (jit and "EasyExploits") or
  43. (getscriptenvs and "Calamari") or
  44. (unit and not syn and "Unit") or
  45. (OXYGEN_LOADED and "Oxygen U") or
  46. (IsElectron and "Electron") or
  47. (IS_COCO_LOADED and "Coco") or
  48. (IS_VIVA_LOADED and "Viva") or
  49. (syn and is_synapse_function and not is_sirhurt_closure and not pebc_execute and "Synapse") or
  50. ("Other")
  51. end
  52.  
  53. local function CreateWindow()
  54. task.delay(.8, function()
  55. local Universal = Window:CreateTab("Universal", 4483362458)
  56.  
  57. Universal:CreateSection("AFKing")
  58.  
  59. Universal:CreateToggle({
  60. Name = "ðŸšŦ Anti-AFK",
  61. Info = "Prevents Roblox's anti-afk from kicking you.\n(Doesn't work for games with their own anti-afk)",
  62. CurrentValue = false,
  63. Flag = "Universal-AntiAFK",
  64. Callback = function(Value) end,
  65. })
  66.  
  67. local VirtualUser = game:GetService("VirtualUser")
  68. Player.Idled:Connect(function()
  69. if Rayfield.Flags["Universal-AntiAFK"].CurrentValue then
  70. VirtualUser:CaptureController()
  71. VirtualUser:ClickButton2(Vector2.new())
  72. end
  73. end)
  74.  
  75. local AutoRejoin = Universal:CreateToggle({
  76. Name = "🔁 Auto Rejoin",
  77. Info = "Doesn't completely load game until you tab in",
  78. CurrentValue = false,
  79. Flag = "Universal-AutoRejoin",
  80. Callback = function(Value)
  81. if Value then
  82. repeat task.wait() until game.CoreGui:FindFirstChild('RobloxPromptGui')
  83.  
  84. local lp,po,ts = game:GetService('Players').LocalPlayer,game.CoreGui.RobloxPromptGui.promptOverlay,game:GetService('TeleportService')
  85.  
  86. po.ChildAdded:connect(function(a)
  87. if Rayfield.Flags["Universal-AutoRejoin"].CurrentValue and a.Name == 'ErrorPrompt' then
  88. while true do
  89. ts:Teleport(game.PlaceId)
  90. task.wait(2)
  91. end
  92. end
  93. end)
  94. end
  95. end,
  96. })
  97.  
  98. local queueteleport = (syn and syn.queue_on_teleport) or queue_on_teleport or (fluxus and fluxus.queue_on_teleport)
  99. local avail
  100. if queueteleport then
  101. avail = ""
  102. else
  103. avail = " (UNSUPPORTED EXECUTOR!)"
  104. end
  105.  
  106. Universal:CreateToggle({
  107. Name = "ðŸ“ķ Auto Re-Execute" .. avail,
  108. CurrentValue = false,
  109. Flag = "Universal-AutoRe-Execute",
  110. Callback = function(Value)
  111. if Value then
  112. if queueteleport then
  113. queueteleport('loadstring(game:HttpGet("' .. exLink .. '"))()')
  114. end
  115. end
  116. end,
  117. })
  118.  
  119. Universal:CreateSection("Safety")
  120.  
  121. local GroupId = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Creator.CreatorTargetId
  122.  
  123. Universal:CreateToggle({
  124. Name = "🚊 Leave Upon Staff Join",
  125. Info = "Kicks you if a player above the group role 1 joins/is in the server.",
  126. CurrentValue = false,
  127. Flag = "Universal-AutoLeave",
  128. Callback = function(Value)
  129. if Value then
  130. for i,v in pairs(game.Players:GetPlayers()) do
  131. pcall(function()
  132. if v:IsInGroup(GroupId) and v:GetRankInGroup(GroupId) > 1 then
  133. AutoRejoin:Set(false)
  134. Player:Kick("Detected Staff (Player above group rank 1)")
  135. end
  136. end)
  137. end
  138. end
  139. end,
  140. })
  141.  
  142. game:GetService("Players").PlayerAdded:Connect(function(v)
  143. if Rayfield.Flags["Universal-AutoLeave"].CurrentValue then
  144. pcall(function()
  145. if v:IsInGroup(GroupId) and v:GetRankInGroup(GroupId) > 1 then
  146. AutoRejoin:Set(false)
  147. Player:Kick("Detected Staff (Player above group rank 1)")
  148. end
  149. end)
  150. end
  151. end)
  152.  
  153. Universal:CreateSection("Rejoining")
  154.  
  155. Universal:CreateButton({
  156. Name = "🔃 Rejoin",
  157. Info = "Rejoins your current server",
  158. Callback = function()
  159. game:GetService("TeleportService"):Teleport(game.PlaceId, Player)
  160. end,
  161. })
  162.  
  163. Universal:CreateSection("Server Hopping")
  164.  
  165. local function ServerHop()
  166. local Http = game:GetService("HttpService")
  167. local TPS = game:GetService("TeleportService")
  168. local Api = "https://games.roblox.com/v1/games/"
  169.  
  170. local _place,_id = game.PlaceId, game.JobId
  171. local _servers = Api.._place.."/servers/Public?sortOrder=Desc&limit=100"
  172.  
  173. local function ListServers(cursor)
  174. local Raw = game:HttpGet(_servers .. ((cursor and "&cursor="..cursor) or ""))
  175. return Http:JSONDecode(Raw)
  176. end
  177.  
  178. local Next; repeat
  179. local Servers = ListServers(Next)
  180. for i,v in next, Servers.data do
  181. if v.playing < v.maxPlayers and v.id ~= _id then
  182. local s,r = pcall(TPS.TeleportToPlaceInstance,TPS,_place,v.id,Player)
  183. if s then break end
  184. end
  185. end
  186.  
  187. Next = Servers.nextPageCursor
  188. until not Next
  189. end
  190.  
  191. Universal:CreateButton({
  192. Name = "🔂 One-Time Server Hop",
  193. Callback = function()
  194. ServerHop()
  195. end,
  196. })
  197.  
  198. Universal:CreateToggle({
  199. Name = "🔁 Server Hop",
  200. Info = "Automatically server hops after the interval.",
  201. CurrentValue = false,
  202. Flag = "Universal-ServerHop",
  203. Callback = function(Value) end,
  204. })
  205.  
  206. Universal:CreateSlider({
  207. Name = "âē Server Hop Intervals",
  208. Info = "Sets the interval in seconds for the Server Hop.",
  209. Suffix = "",
  210. Range = {5, 600},
  211. Increment = 1,
  212. CurrentValue = 5,
  213. Flag = "Universal-ServerhopIntervals",
  214. Callback = function(Value) end,
  215. })
  216.  
  217. task.spawn(function()
  218. while task.wait(Rayfield.Flags["Universal-ServerhopIntervals"].CurrentValue) do
  219. if Rayfield.Flags["Universal-ServerHop"].CurrentValue then
  220. ServerHop()
  221. end
  222. end
  223. end)
  224.  
  225. Universal:CreateSection("Other")
  226. Universal:CreateButton({
  227. Name = "🗑ïļ Destory UI",
  228. Callback = function()
  229. Rayfield:Destroy()
  230. end,
  231. })
  232.  
  233. Rayfield:LoadConfiguration()
  234. end)
  235. end
  236.  
  237. CreateWindow()
  238.  
  239. return Rayfield, Window, CreateWindow, Notify, GetExploit, SetReExecuteLink
  240. -- local Rayfield, Window, CreateWindow, Notify, GetExploit, SetReExecuteLink = loadstring(game:HttpGet("https://raw.githubusercontent.com/xvhHaloxx/Halo-Hub/main/Init.lua"))()
  241.  
Advertisement
Add Comment
Please, Sign In to add comment