-- ensure the game is Loaded if not game:IsLoaded() then game.Loaded:Wait() end --// Roblox Services local Services = { Players = game:GetService("Players"), RunService = game:GetService("RunService"), UserInputService = game:GetService("UserInputService"), TweenService = game:GetService("TweenService"), HttpService = game:GetService("HttpService"), ReplicatedStorage = game:GetService("ReplicatedStorage"), StarterGui = game:GetService("StarterGui"), Lighting = game:GetService("Lighting"), SoundService = game:GetService("SoundService"), GuiService = game:GetService("GuiService"), ContextActionService = game:GetService("ContextActionService"), CollectionService = game:GetService("CollectionService"), Debris = game:GetService("Debris"), Workspace = game:GetService("Workspace"), } --// More services just in-case local Player = Services.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:Wait() local Humanoid = Character:WaitForChild("Humanoid") local Root = Character:WaitForChild("HumanoidRootPart") local Tier = "Pro" local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() --------------------------------------------------------------------- -- WINDOW SETUP --------------------------------------------------------------------- local Window = Rayfield:CreateWindow({ Name = "Random Hub Pro", Icon = 0, LoadingTitle = "Random Hub", LoadingSubtitle = "Loading...", Theme = "Amethyst", ToggleUIKeybind = "K", DisableRayfieldPrompts = false, DisableBuildWarnings = false, ConfigurationSaving = { Enabled = true, FolderName = "RandomHubFolder", FileName = "RandomHub" } }) Rayfield:Notify({ Title = "Welcome!", Content = "enter your license key in the unlock features tab to get extra features", Duration = 6 }) --------------------------------------------------------------------- -- TABS WITH LUICIDE-ICONS --------------------------------------------------------------------- local HomeTab = Window:CreateTab("Home", "home") local SettingTab = Window:CreateTab("Settings", "settings") local ScriptTab = Window:CreateTab("Scripts", "file-text") local ImportantTab = Window:CreateTab("Important", "alert-circle") local KeyTab = Window:CreateTab("Unlock Features", "lock") --------------------------------------------------------------------- -- HOME TAB --------------------------------------------------------------------- HomeTab:CreateSection("Player Info") HomeTab:CreateLabel("Username: " .. game.Players.LocalPlayer.Name) HomeTab:CreateLabel("User ID: " .. game.Players.LocalPlayer.UserId) HomeTab:CreateLabel("Account Age: " .. game.Players.LocalPlayer.AccountAge .. " days") HomeTab:CreateSection("Server Info") HomeTab:CreateLabel("Place ID: " .. game.PlaceId) HomeTab:CreateLabel("Job ID: " .. game.JobId) HomeTab:CreateLabel("Players in Server: " .. #game.Players:GetPlayers()) --------------------------------------------------------------------- -- SETTINGS TAB --------------------------------------------------------------------- SettingTab:CreateSection("Theme Selector") SettingTab:CreateDropdown({ Name = "Theme", Options = { "Default", "AmberGlow", "Amethyst", "Bloom", "DarkBlue", "Green", "Light", "Ocean", "Serenity" }, CurrentOption = "Amethyst", Callback = function(option) print("Theme selected:", option) end, }) --------------------------------------------------------------------- -- IMPORTANT TAB --------------------------------------------------------------------- ImportantTab:CreateSection("Environment Tools") ImportantTab:CreateButton({ Name = "Environment Check", Callback = function() Rayfield:Notify({ Title = "Environment", Content = "Environment check complete.", Duration = 5 }) end, }) --------------------------------------------------------------------- -- KEY SYSTEM --------------------------------------------------------------------- local generatedKey = "" local keyUnlocked = false KeyTab:CreateSection("Unlock Features") KeyTab:CreateInput({ Name = "Enter Key", PlaceholderText = "Type your key...", RemoveTextAfterFocusLost = false, Callback = function(text) if text == generatedKey and generatedKey ~= "" then keyUnlocked = true Rayfield:Notify({ Title = "Access Granted", Content = "Extra features unlocked!", Duration = 5 }) else Rayfield:Notify({ Title = "Invalid Key", Content = "Try again.", Duration = 5 }) end end, }) KeyTab:CreateButton({ Name = "Generate Key", Callback = function() local chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()" local newKey = "" for i = 1, 16 do local rand = math.random(1, #chars) newKey = newKey .. chars:sub(rand, rand) end generatedKey = newKey Rayfield:Notify({ Title = "Key Generated", Content = "Your key: " .. newKey, Duration = 8 }) end, }) KeyTab:CreateButton({ Name = "Copy Generated Key", Icon = "copy", Callback = function() if generatedKey ~= "" then setclipboard(generatedKey) Rayfield:Notify({ Title = "Copied!", Content = "The generated key has been copied to your clipboard.", Duration = 5 }) else Rayfield:Notify({ Title = "No Key Yet", Content = "Generate a key first.", Duration = 5 }) end end, }) KeyTab:CreateButton({ Name = "Regenerate your license Key", Icon = "refresh-ccw", Callback = function() local chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()" local newKey = "" for i = 1, 16 do local rand = math.random(1, #chars) newKey = newKey .. chars:sub(rand, rand) end generatedKey = newKey Rayfield:Notify({ Title = "Key Regenerated", Content = "Your new key: " .. newKey, Duration = 6 }) end, }) task.spawn(function() while task.wait(0.5) do if keyUnlocked then local ExtraTab = Window:CreateTab("More Features", "star") ExtraTab:CreateSection("Chat Tools") ExtraTab:CreateToggle({ Name = "Chat Spam Detection", Icon = "message-square-warning", CurrentValue = false, Callback = function(state) _G.ChatSpamDetect = state Rayfield:Notify({ Title = "Spam Detection", Content = state and "Enabled" or "Disabled", Duration = 4 }) end, }) ExtraTab:CreateButton({ Name = "Open Chatlogs", Icon = "book-open", Callback = function() Rayfield:Notify({ Title = "Chatlogs", Content = "Local chatlog viewer would open here.", Duration = 5 }) end, }) ExtraTab:CreateButton({ Name = "Chat Spy Tracker", Icon = "eye", Callback = function() Rayfield:Notify({ Title = "Chat Spy", Content = "Tracking whispers locally.", Duration = 5 }) end, }) ExtraTab:CreateButton({ Name = "Anti-Spam Formula Test", Icon = "filter", Callback = function() local testMessage = "HELLOOOOO!!!!! 😂😂😂" local score = #testMessage + select(2, testMessage:gsub("%u", "")) * 2 Rayfield:Notify({ Title = "Anti-Spam Score", Content = "Score: " .. tostring(score), Duration = 5 }) end, }) ExtraTab:CreateSection("Visual Effects") ExtraTab:CreateToggle({ Name = "Starllight Effect", Icon = "sparkles", CurrentValue = false, Callback = function(state) if state then local bloom = Instance.new("BloomEffect") bloom.Intensity = 2 bloom.Size = 50 bloom.Name = "Starlight" bloom.Parent = game.Lighting else local b = game.Lighting:FindFirstChild("Starlight") if b then b:Destroy() end end end, }) ExtraTab:CreateButton({ Name = "Spectate Animation", Icon = "camera", Callback = function() local cam = workspace.CurrentCamera local root = game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") if cam and root then cam.CameraType = Enum.CameraType.Scriptable cam.CFrame = root.CFrame * CFrame.new(0, 50, 0) task.wait(1) cam.CameraType = Enum.CameraType.Custom end end, }) ExtraTab:CreateButton({ Name = "Confetti Burst", Icon = "party-popper", Callback = function() local char = game.Players.LocalPlayer.Character if not char or not char:FindFirstChild("Head") then return end local p = Instance.new("ParticleEmitter") p.Texture = "rbxassetid://2418769691" p.Rate = 200 p.Lifetime = NumberRange.new(1) p.Speed = NumberRange.new(10) p.Parent = char.Head task.wait(1) p.Enabled = false task.wait(2) p:Destroy() end, }) ------------------------------------------------------------- -- CATEGORY: System Tools ------------------------------------------------------------- ExtraTab:CreateSection("System Tools") ExtraTab:CreateToggle({ Name = "Auto Lower Graphics", Icon = "gauge", CurrentValue = false, Callback = function(state) settings().Rendering.QualityLevel = state and Enum.QualityLevel.Level01 or Enum.QualityLevel.Automatic Rayfield:Notify({ Title = "Graphics", Content = state and "Lowered for performance" or "Restored to automatic", Duration = 4 }) end, }) ExtraTab:CreateDropdown({ Name = "Serverhop Type", Icon = "shuffle", Options = {"Default", "GTA"}, CurrentOption = "Default", Callback = function(option) Rayfield:Notify({ Title = "Serverhop Mode", Content = "Selected: " .. option, Duration = 4 }) end, }) ExtraTab:CreateButton({ Name = "Open Block List", Icon = "ban", Callback = function() Rayfield:Notify({ Title = "Block List", Content = "UI for domain/page block list would open here.", Duration = 5 }) end, }) ------------------------------------------------------------- -- OWNER TAB (ONLY FOR user_45374756745438) ------------------------------------------------------------- local Owner = "user_45374756745438" local Player = game.Players.LocalPlayer local IsOwner = (Player.Name == Owner) if IsOwner then local OwnerTab = Window:CreateTab("Owner", "crown") OwnerTab:CreateSection("Owner Controls") OwnerTab:CreateButton({ Name = "Owner Notification", Icon = "bell", Callback = function() Rayfield:Notify({ Title = "Owner Action", Content = "You triggered an owner-only action.", Duration = 5 }) end, }) OwnerTab:CreateSection("Owner Visual Tools") OwnerTab:CreateToggle({ Name = "Owner Glow", Icon = "sun", CurrentValue = false, Callback = function(state) if state then local bloom = Instance.new("BloomEffect") bloom.Intensity = 1.5 bloom.Size = 25 bloom.Name = "OwnerGlow" bloom.Parent = game.Lighting else local b = game.Lighting:FindFirstChild("OwnerGlow") if b then b:Destroy() end end end, }) OwnerTab:CreateButton({ Name = "Owner Confetti", Icon = "party-popper", Callback = function() local char = Player.Character if not char or not char:FindFirstChild("Head") then return end local p = Instance.new("ParticleEmitter") p.Texture = "rbxassetid://2418769691" p.Rate = 200 p.Lifetime = NumberRange.new(1) p.Speed = NumberRange.new(10) p.Parent = char.Head task.wait(1) p.Enabled = false task.wait(2) p:Destroy() end, }) OwnerTab:CreateSection("Owner Utilities") OwnerTab:CreateInput({ Name = "Send Custom Owner Message", Icon = "message-circle", PlaceholderText = "Type message...", RemoveTextAfterFocusLost = false, Callback = function(text) Rayfield:Notify({ Title = "Owner Message", Content = text, Duration = 5 }) end, }) OwnerTab:CreateButton({ Name = "Print Player List", Icon = "list", Callback = function() for _, plr in ipairs(game.Players:GetPlayers()) do print("Player:", plr.Name) end Rayfield:Notify({ Title = "Player List", Content = "Printed to console.", Duration = 5 }) end, }) end break end end end)