local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()

local Window = Rayfield:CreateWindow({
    Name = "Rodan Hub|@RodanHub = Youtube",
    Icon = 110387052435330, -- Optionally set a valid Roblox image ID
    LoadingTitle = "Rodan Hub",
    LoadingSubtitle = "by @RodanHubonYT",
    Theme = "Default",
    DisableRayfieldPrompts = false,
    DisableBuildWarnings = false,

    ConfigurationSaving = {
        Enabled = true,
        FolderName = "Alarms", -- Optional folder name for configs
        FileName = "RodanHubkey_" .. game.Players.LocalPlayer.Name
    },

    Discord = {
        Enabled = true,
        Invite = "PfazPQfc",
        RememberJoins = true
    },

    KeySystem = true,
    KeySettings = {
        Title = "Rodan Hub",
        Subtitle = "Key System",
        Note = "Get Key By Joining Discord |YT=@RodanHubonYT",
        FileName = "RodanHubKey_" .. game.Players.LocalPlayer.Name,
        SaveKey = true,
        GrabKeyFromSite = true, -- Disabled since no URL provided
        Key = {"DanielFounder", "Reach2Ksubs", "RobFounder"}
    }
})

-- Farm Tab
local FarmTab = Window:CreateTab("Farm", 78832038241257)

FarmTab:CreateButton({
    Name = "Redz Hub",
    Callback = function()
        local success, err = pcall(function()
            local script = game:HttpGet("https://[Log in to view URL]")
            loadstring(script)()
        end)
        if not success then
            warn("Failed to load Redz Hub: " .. tostring(err))
        end
    end,
})

FarmTab:CreateButton({
    Name = "HoHo Hub",
    Callback = function()
        local success, err = pcall(function()
            local script = game:HttpGet("https://[Log in to view URL]")
            loadstring(script)()
        end)
        if not success then
            warn("Failed to load HoHo Hub: " .. tostring(err))
        end
    end,
})

-- Bounty Tab
local BountyTab = Window:CreateTab("Bounty", 127881003227995)

BountyTab:CreateButton({
    Name = "Sera Hub",
    Callback = function()
        local success, err = pcall(function()
            local script = game:HttpGet("https://[Log in to view URL]")
            loadstring(script)()
        end)
        if not success then
            warn("Failed to load Sera Hub: " .. tostring(err))
        end
    end,
})

-- Misc Tab
local MiscTab = Window:CreateTab("Misc", 108129201671893)

MiscTab:CreateSlider({
    Name = "Speed",
    Range = {1, 300},
    Increment = 10,
    Suffix = "Speed",
    CurrentValue = 16,
    Flag = "SpeedChanger",
    Callback = function(Value)
        pcall(function()
            game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Value
        end)
    end,
})

MiscTab:CreateButton({
    Name = "Inf Jump",
    Callback = function()
        local success, err = pcall(function()
            local script = game:HttpGet("https://[Log in to view URL]")
            loadstring(script)()
        end)
        if not success then
            warn("Failed to load Infinite Jump script: " .. tostring(err))
        end
    end,
})

-- Esp Toggle
MiscTab:CreateToggle({
    Name = "ESP Toggle",
    CurrentValue = false,
    Flag = "ESPToggle",
    Callback = function(espEnabled)
        local Players = game:GetService("Players")

        local function createHighlight(character, color)
            local highlight = character:FindFirstChild("Highlight") or Instance.new("Highlight")
            highlight.Name = "Highlight"
            highlight.Parent = character
            highlight.FillColor = color
            highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
            highlight.FillTransparency = 0.5
            highlight.OutlineTransparency = 0
        end

        local function toggleESP(enable)
            for _, player in ipairs(Players:GetPlayers()) do
                if player.Character then
                    if enable then
                        createHighlight(player.Character, Color3.fromRGB(255, 0, 0))
                    else
                        local highlight = player.Character:FindFirstChild("Highlight")
                        if highlight then
                            highlight:Destroy()
                        end
                    end
                end
            end
        end

        toggleESP(espEnabled)

        Players.PlayerAdded:Connect(function(player)
            player.CharacterAdded:Connect(function(character)
                if espEnabled then
                    createHighlight(character, Color3.fromRGB(255, 0, 0))
                end
            end)
        end)
    end,
})

-- Aimbot Toggle
MiscTab:CreateToggle({
    Name = "Aimbot",
    CurrentValue = false,
    Flag = "AimbotToggle",
    Callback = function(aimbotEnabled)
        local RunService = game:GetService("RunService")
        local Players = game:GetService("Players")
        local LocalPlayer = Players.LocalPlayer

        local function getClosestEnemy(fov, maxDistance)
            local closestEnemy, closestDistance = nil, math.huge
            local character = LocalPlayer.Character
            if not character then return nil end

            for _, player in ipairs(Players:GetPlayers()) do
                if player ~= LocalPlayer and player.Team ~= LocalPlayer.Team and player.Character then
                    local targetHRP = player.Character:FindFirstChild("HumanoidRootPart")
                    local localHRP = character:FindFirstChild("HumanoidRootPart")

                    if targetHRP and localHRP then
                        local distance = (localHRP.Position - targetHRP.Position).Magnitude
                        if distance < maxDistance and distance < closestDistance then
                            local camera = workspace.CurrentCamera
                            local screenPoint, onScreen = camera:WorldToScreenPoint(targetHRP.Position)
                            local mousePosition = Vector2.new(camera.ViewportSize.X / 2, camera.ViewportSize.Y / 2)
                            local fovCheck = (mousePosition - Vector2.new(screenPoint.X, screenPoint.Y)).Magnitude

                            if fovCheck <= fov and onScreen then
                                closestEnemy = player
                                closestDistance = distance
                            end
                        end
                    end
                end
            end

            return closestEnemy
        end

        local function aimAt(target)
            local character = LocalPlayer.Character
            if character and target and target.Character then
                local targetHRP = target.Character:FindFirstChild("HumanoidRootPart")
                if targetHRP then
                    local localHRP = character:FindFirstChild("HumanoidRootPart")
                    if localHRP then
                        localHRP.CFrame = CFrame.lookAt(localHRP.Position, targetHRP.Position)
                    end
                end
            end
        end

        local connection
        if aimbotEnabled then
            connection = RunService.RenderStepped:Connect(function()
                local closestEnemy = getClosestEnemy(100, 300) -- FOV: 100, Max Distance: 300 studs
                if closestEnemy then
                    aimAt(closestEnemy)
                end
            end)
        else
            if connection then
                connection:Disconnect()
                connection = nil
            end
        end
    end,
})

-- Fruit Battle Grounds Tab 
local FruitBgTab = Window:CreateTab("Fruit BG", 75854525981299)

FruitBgTab:CreateButton({
    Name = "Askien Hub",
    Callback = function()
        local success, err = pcall(function()
            local script = game:HttpGet("https://[Log in to view URL]")
            loadstring(script)()
        end)
        if not success then
            warn("Failed to load Askien Hub script: " .. tostring(err))
        end
    end,
})

-- Fisch Tab
local FischTab = Window:CreateTab("Fisch", 110654365030834)

FischTab:CreateButton({
    Name = "Speed hub X",
    Callback = function()
        local success, err = pcall(function()
            local script = game:HttpGet("https://[Log in to view URL]")
            loadstring(script)()
        end)
        if not success then
            warn("Failed to Load Script: " .. tostring(err))
        end 
    end,
})

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: