Mr_3242

QuantumX Hub V2.1!

Sep 13th, 2026 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.75 KB | Gaming | 0 0
  1. local success, Rayfield = pcall(function()
  2.     return loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
  3. end)
  4.  
  5. if not success or not Rayfield then
  6.     warn("Rayfield failed to load")
  7.     return
  8. end
  9.  
  10. ---------------------------------------------------
  11. -- WINDOW
  12. ---------------------------------------------------
  13. local Window = Rayfield:CreateWindow({
  14.     Name = "QuantumX Hub",
  15.     LoadingTitle = "Loading scripts...",
  16.     LoadingSubtitle = "Follow me on TikTok Mr_3242",
  17.     ConfigurationSaving = { Enabled = false }
  18. })
  19.  
  20. ---------------------------------------------------
  21. -- CONFIG
  22. ---------------------------------------------------
  23. local PRIMARY_INDEX = "https://pastebin.com/raw/71smW0v8"
  24. local PROFILE_URL = "https://pastebin.com/u/Mr_3242"
  25.  
  26. ---------------------------------------------------
  27. -- NOTIFY
  28. ---------------------------------------------------
  29. local function Notify(t, c)
  30.     pcall(function()
  31.         Rayfield:Notify({
  32.             Title = tostring(t),
  33.             Content = tostring(c),
  34.             Duration = 3,
  35.             Image = 4483362458
  36.         })
  37.     end)
  38. end
  39.  
  40. ---------------------------------------------------
  41. -- BLACKLIST
  42. ---------------------------------------------------
  43. local blacklist = {
  44.     "tools","faq","login","sign up","public pastes", "contact", "Quiz bot script (the question about how to custom quiz here’s the answer this isn’t the script)","Fake loading progress", "⚠️this is not a script ⚠️ Daycare 💥 virus combinations", "QuantumX Script list",
  45.     "syntax languages","archive","news","pro","dmca",
  46.     "QuantumX Hub V2.1!","This isn’t a script its a Ui Library i made","How to use loadstring",
  47.     "rayfield made by sirius"
  48. }
  49.  
  50. local function isBlocked(name)
  51.     name = tostring(name or ""):lower()
  52.  
  53.     for i = 1, #blacklist do
  54.         local bad = tostring(blacklist[i] or ""):lower()
  55.         if bad ~= "" and name:find(bad, 1, true) then
  56.             return true
  57.         end
  58.     end
  59.  
  60.     return false
  61. end
  62.  
  63. ---------------------------------------------------
  64. -- CATEGORY SETUP
  65. ---------------------------------------------------
  66. local categoryOrder = {
  67.     "Admin",
  68.     "Hub",
  69.     "Games",
  70.     "Automation",
  71.     "Movement",
  72.     "Visuals",
  73.     "Tools",
  74.     "Misc",
  75.     "Bypasses"
  76. }
  77.  
  78. local categories = {}
  79. local tabs = {}
  80.  
  81. for _, name in ipairs(categoryOrder) do
  82.     categories[name] = {}
  83. end
  84.  
  85. ---------------------------------------------------
  86. -- HTTP
  87. ---------------------------------------------------
  88. local function httpGet(url, retries)
  89.     retries = retries or 2
  90.  
  91.     for i = 1, retries do
  92.         local ok, res = pcall(function()
  93.             return game:HttpGet(url)
  94.         end)
  95.  
  96.         if ok and type(res) == "string" and #res > 20 then
  97.             return res
  98.         end
  99.  
  100.         task.wait(0.15 * i)
  101.     end
  102.  
  103.     return nil
  104. end
  105.  
  106. ---------------------------------------------------
  107. -- CLEAN TEXT
  108. ---------------------------------------------------
  109. local function clean(text)
  110.     return (text or "")
  111.         :gsub("&", "&")
  112.         :gsub("<.->", "")
  113.         :gsub("%s+", " ")
  114.         :match("^%s*(.-)%s*$")
  115. end
  116.  
  117. ---------------------------------------------------
  118. -- CATEGORY DETECTION
  119. ---------------------------------------------------
  120. local function getCategory(name)
  121.     local n = clean(name):lower()
  122.  
  123.     if n:find("admin", 1, true)
  124.         or n:find("nameless", 1, true)
  125.         or n:find("command", 1, true)
  126.         or n:find("cmd", 1, true)
  127.         or n:find("admin panel", 1, true) then
  128.         return "Admin"
  129.  
  130.     elseif n:find("hub", 1, true)
  131.         or n:find("script hub", 1, true)
  132.         or n:find("universal sus", 1, true)
  133.         or n:find("universal badass experiences", 1, true)
  134.         or n:find("universal hub", 1, true) then
  135.         return "Hub"
  136.  
  137.     elseif n:find("simulator", 1, true)
  138.         or n:find("obby", 1, true)
  139.         or n:find("battleground", 1, true)
  140.         or n:find("daycare", 1, true)
  141.         or n:find("brainrot", 1, true)
  142.         or n:find("slap battles", 1, true)
  143.         or n:find("among us", 1, true)
  144.         or n:find("bridge battles", 1, true)
  145.         or n:find("prison run", 1, true)
  146.         or n:find("flee the facility", 1, true)
  147.         or n:find("murder vs sherif", 1, true)
  148.         or n:find("find who slapped", 1, true)
  149.         or n:find("game:", 1, true)
  150.         or n:find("(game)", 1, true) then
  151.         return "Games"
  152.  
  153.     elseif n:find("auto farm", 1, true)
  154.         or n:find("autofarm", 1, true)
  155.         or n:find("auto click", 1, true)
  156.         or n:find("autoclick", 1, true)
  157.         or n:find("auto buy", 1, true)
  158.         or n:find("autobuy", 1, true)
  159.         or n:find("auto roll", 1, true)
  160.         or n:find("autoroll", 1, true)
  161.         or n:find("auto piano", 1, true)
  162.         or n:find("instant", 1, true)
  163.         or n:find("farm", 1, true)
  164.         or n:find("clicker", 1, true) then
  165.         return "Automation"
  166.  
  167.     elseif n:find("fly", 1, true)
  168.         or n:find("speed", 1, true)
  169.         or n:find("frost walker", 1, true)
  170.         or n:find("walkspeed", 1, true)
  171.         or n:find("jump", 1, true)
  172.         or n:find("infjump", 1, true)
  173.         or n:find("inf jump", 1, true)
  174.         or n:find("infinite jump", 1, true)
  175.         or n:find("gravity", 1, true)
  176.         or n:find("noclip", 1, true)
  177.         or n:find("no clip", 1, true)
  178.         or n:find("teleport", 1, true)
  179.         or n:find("shiftlock", 1, true)
  180.         or n:find("wall climber", 1, true)
  181.         or n:find("wall climb", 1, true)
  182.         or n:find("r15 to r6", 1, true) then
  183.         return "Movement"
  184.  
  185.     elseif n:find("esp", 1, true)
  186.         or n:find("wallhack", 1, true)
  187.         or n:find("highlight", 1, true)
  188.         or n:find("tracer", 1, true)
  189.         or n:find("chams", 1, true)
  190.         or n:find("xray", 1, true)
  191.         or n:find("fullbright", 1, true)
  192.         or n:find("fov", 1, true)
  193.         or n:find("crosshair", 1, true)
  194.         or n:find("visual", 1, true)
  195.         or n:find("invisible", 1, true)
  196.         or n:find("invisibility", 1, true) then
  197.         return "Visuals"
  198.  
  199.     elseif n:find("dex", 1, true)
  200.         or n:find("cobalt", 1, true)
  201.         or n:find("npc controller", 1, true)
  202.         or n:find("quiz bot", 1, true)
  203.         or n:find("decompiler", 1, true)
  204.         or n:find("inspector", 1, true)
  205.         or n:find("monitor", 1, true)
  206.         or n:find("fps", 1, true)
  207.         or n:find("gui", 1, true)
  208.         or n:find("interface", 1, true)
  209.         or n:find("utility", 1, true)
  210.         or n:find("utilities", 1, true)
  211.         or n:find("music player", 1, true)
  212.         or n:find("product buyer", 1, true)
  213.         or n:find("draggable", 1, true)
  214.         or n:find("explorer", 1, true) then
  215.         return "Tools"
  216.  
  217.     elseif n:find("bypass", 1, true)
  218.         or n:find("anti cheat", 1, true) then
  219.         return "Bypasses"
  220.     end
  221.  
  222.     return "Misc"
  223. end
  224.  
  225. ---------------------------------------------------
  226. -- STORAGE
  227. ---------------------------------------------------
  228. local seen = {}
  229.  
  230. local function addScript(name, url)
  231.     if isBlocked(name) then return end
  232.     if seen[url] then return end
  233.  
  234.     seen[url] = true
  235.  
  236.     local cat = getCategory(name)
  237.     table.insert(categories[cat], {
  238.         name = name,
  239.         url = url
  240.     })
  241. end
  242.  
  243. ---------------------------------------------------
  244. -- PARSERS
  245. ---------------------------------------------------
  246. local function parsePrimary(data)
  247.     for line in data:gmatch("[^\r\n]+") do
  248.         local name, url = line:match("^(.-)%s*=%s*(https://pastebin%.com/raw/%w+)")
  249.         if name and url then
  250.             addScript(clean(name), url)
  251.         end
  252.     end
  253. end
  254.  
  255. local function parseProfile(html)
  256.     for id, name in html:gmatch('href="/(%w+)"[^>]*>([^<]+)</a>') do
  257.         local url = "https://pastebin.com/raw/" .. id
  258.         addScript(clean(name), url)
  259.     end
  260. end
  261.  
  262. ---------------------------------------------------
  263. -- RUN SCRIPT
  264. ---------------------------------------------------
  265. local function runScript(url)
  266.     local content = httpGet(url, 3)
  267.  
  268.     if not content or content:lower():find("<html") then
  269.         Notify("Error", "Failed to load script")
  270.         return
  271.     end
  272.  
  273.     pcall(function()
  274.         Rayfield:Destroy()
  275.     end)
  276.  
  277.     task.wait(0.1)
  278.  
  279.     local ok, err = pcall(function()
  280.         loadstring(content)()
  281.     end)
  282.  
  283.     if not ok then
  284.         Notify("Execution Error", err or "Unknown error")
  285.     end
  286. end
  287.  
  288. ---------------------------------------------------
  289. -- BUILD UI
  290. ---------------------------------------------------
  291. local function buildUI()
  292.     for _, catName in ipairs(categoryOrder) do
  293.         local list = categories[catName]
  294.  
  295.         if #list > 0 then
  296.             local tab = Window:CreateTab(catName, 4483362458)
  297.             tabs[catName] = tab
  298.  
  299.             for _, script in ipairs(list) do
  300.                 tab:CreateButton({
  301.                     Name = script.name,
  302.                     Callback = function()
  303.                         runScript(script.url)
  304.                     end
  305.                 })
  306.             end
  307.         end
  308.     end
  309. end
  310.  
  311. ---------------------------------------------------
  312. -- LOAD EVERYTHING
  313. ---------------------------------------------------
  314. task.spawn(function()
  315.     local primary = httpGet(PRIMARY_INDEX, 2)
  316.     if primary then parsePrimary(primary) end
  317.  
  318.     local profile = httpGet(PROFILE_URL, 2)
  319.     if profile then parseProfile(profile) end
  320.  
  321.     buildUI()
  322.  
  323.     ---------------------------------------------------
  324.     -- STATIC TABS
  325.    ---------------------------------------------------
  326.     local CreditsTab = Window:CreateTab("Credits", 4483362458)
  327.  
  328.     CreditsTab:CreateParagraph({
  329.         Title = "Credits",
  330.         Content = "QuantumX Hub created by Mr_3242\nThanks for using the hub!"
  331.     })
  332.  
  333.     local function copy(txt)
  334.         if typeof(setclipboard) == "function" then
  335.             pcall(function()
  336.                 setclipboard(txt)
  337.             end)
  338.         end
  339.     end
  340.  
  341.     CreditsTab:CreateButton({
  342.         Name = "Copy TikTok",
  343.         Callback = function() copy("https://www.tiktok.com/@Mr_3242") end
  344.     })
  345.  
  346.     CreditsTab:CreateButton({
  347.         Name = "Copy YouTube",
  348.         Callback = function() copy("https://www.youtube.com/@Mr_3242.") end
  349.     })
  350.  
  351.     CreditsTab:CreateButton({
  352.         Name = "Copy Twitch",
  353.         Callback = function() copy("https://m.twitch.tv/quantumx_42/home") end
  354.     })
  355.  
  356. ---------------------------------------------------
  357. -- UNLOAD
  358. ---------------------------------------------------
  359.     local UnloadTab = Window:CreateTab("Unload", 4483362458)
  360.     UnloadTab:CreateButton({
  361.         Name = "Unload Script",
  362.         Callback = function()
  363.             pcall(function()
  364.                 Rayfield:Destroy()
  365.             end)
  366.         end
  367.     })
  368. end)
Tags: delta
Advertisement
Add Comment
Please, Sign In to add comment