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

-- Centralized script URLs for easier management
local Scripts = {
    InfiniteYield = "https://[Log in to view URL]",
    TeleportToPlayer = "https://[Log in to view URL]",
    OrbitGUI = "https://[Log in to view URL]",
    TrollingHub = "https://[Log in to view URL]",
    OP Script = "loadstring(game:HttpGet("https://[Log in to view URL]",true))();",
    RageDestroyer = "https://[Log in to view URL]",
    KrunoxHub = "https://[Log in to view URL]",
    KawaiiAura = "https://[Log in to view URL]",
    FeGUI2 = "https://[Log in to view URL]",
    TigerXHub = "https://[Log in to view URL]",
    Xester1 = "https://[Log in to view URL]",
    Xester2 = "https://[Log in to view URL]",
    D3xScript1 = "https://[Log in to view URL]",  -- Replace with actual D3x script URL
    D3xScript2 = "https://[Log in to view URL]",  -- Replace with actual D3x script URL
    D3xScript3 = "https://[Log in to view URL]",  -- Replace with actual D3x script URL
    CapyHub = "https://[Log in to view URL]", -- Replace with Capy Hub script URL
}

-- Safe script loader with error handling
local function SafeLoadScript(url, scriptName)
    local success, errorMsg = pcall(function()
        loadstring(game:HttpGet(url))()
    end)
    if not success then
        Rayfield:Notify({
            Title = "Error",
            Content = string.format("Failed to load %s: %s", scriptName, errorMsg),
            Duration = 5
        })
    else
        Rayfield:Notify({
            Title = "Success",
            Content = string.format("%s successfully loaded!", scriptName),
            Duration = 3
        })
    end
end

-- Main UI Window
local Window = Rayfield:CreateWindow({
    Name = "SCRIPT HUB",
    LoadingTitle = "Tayevion Hub",
    LoadingSubtitle = "by __iiamdiorr",
    ConfigurationSaving = {
        Enabled = true,
        FileName = "FE Hub"
    },
    Discord = {
        Enabled = true,
        Invite = "__iiamdiorr",
        RememberJoins = true
    },
    KeySystem = true,
    KeySettings = {
        Title = "FE HUB KEY",
        Subtitle = "Key System",
        Note = "DM ON INSTAGRAM FOR KEY __iiamdiorr",
        FileName = "SiriusKey",
        SaveKey = true,
        GrabKeyFromSite = true,
        Key = "https://[Log in to view URL]"
    }
})

-- 📜 Update Log Tab
local UpdateTab = Window:CreateTab("📜 Update Log", nil)
UpdateTab:CreateLabel("🔥 Latest Updates 🔥")
UpdateTab:CreateLabel("- Added Fe Xester v2 Button")
UpdateTab:CreateLabel("- Improved Script Execution")
UpdateTab:CreateLabel("- Optimized UI and Code")
UpdateTab:CreateLabel("- Bug Fixes & Performance Boost")

-- 🏠 Home Tab
local MainTab = Window:CreateTab("🏠 Home", nil)
MainTab:CreateLabel("Welcome to Tayevion Hub!")

MainTab:CreateButton({
    Name = "Infinite Yield",
    Info = "Loads Infinite Yield script.",
    Callback = function()
        SafeLoadScript(Scripts.InfiniteYield, "Infinite Yield")
    end
})

MainTab:CreateButton({
    Name = "Teleport to Player",
    Info = "Teleports to another player.",
    Callback = function()
        SafeLoadScript(Scripts.TeleportToPlayer, "Teleport to Player")
    end
})

MainTab:CreateToggle({
    Name = "Infinite Jump",
    Info = "Toggle infinite jumping.",
    CurrentValue = false,
    Callback = function(state)
        local InfiniteJumpEnabled = state
        game:GetService("UserInputService").JumpRequest:Connect(function()
            if InfiniteJumpEnabled then
                game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState("Jumping")
            end
        end)
    end
})

-- 🚀 FE Scripts Tab
local FeTab = Window:CreateTab("🚀 Fe Scripts", nil)

FeTab:CreateButton({
    Name = "Fe Become A God",
    Info = "Activates God Mode.",
    Callback = function()
        SafeLoadScript(Scripts.KawaiiAura, "Fe Become A God")
    end
})

FeTab:CreateButton({
    Name = "Fe Orbit",
    Info = "Loads Fe Orbit script.",
    Callback = function()
        SafeLoadScript(Scripts.OrbitGUI, "Fe Orbit")
    end
})

FeTab:CreateButton({
    Name = "Fe ServerSide Trolling Hub",
    Info = "Loads a trolling GUI.",
    Callback = function()
        SafeLoadScript(Scripts.TrollingHub, "Fe ServerSide Trolling Hub")
    end
})

FeTab:CreateButton({
    Name = "Fe Destroyer",
    Info = "Crashes the server.",
    Callback = function()
        SafeLoadScript(Scripts.ServerCrash, "Fe Destroyer")
    end
})

FeTab:CreateButton({
    Name = "Fe Krunox Universal Script Hub",
    Info = "Loads Krunox Universal Script Hub.",
    Callback = function()
        SafeLoadScript(Scripts.KrunoxHub, "Fe Krunox Universal Script Hub")
    end
})

FeTab:CreateButton({
    Name = "Fe GUI 2",
    Info = "Loads GUI 2.",
    Callback = function()
        SafeLoadScript(Scripts.FeGUI2, "Fe GUI 2")
    end
})

FeTab:CreateButton({
    Name = "Fe Tiger X Hub",
    Info = "Loads the Tiger X Hub script.",
    Callback = function()
        SafeLoadScript(Scripts.TigerXHub, "Fe Tiger X Hub")
    end
})

FeTab:CreateButton({
    Name = "Fe Xester 1",
    Info = "Loads the Prison Life Xester script.",
    Callback = function()
        SafeLoadScript(Scripts.Xester1, "Fe Xester 1")
    end
})

FeTab:CreateButton({
    Name = "Fe Xester v2",
    Info = "Loads the Universal Script Roblox Vereus Monster Script.",
    Callback = function()
        SafeLoadScript(Scripts.Xester2, "Fe Xester v2")
    end
})

-- 🕹️ D3x Tab
local D3xTab = Window:CreateTab("🕹️ D3x", nil)

-- D3x Script Buttons
D3xTab:CreateButton({
    Name = "D3x Script 1",
    Info = "Loads the first D3x script.",
    Callback = function()
        SafeLoadScript(Scripts.D3xScript1, "D3x Script 1")
    end
})

D3xTab:CreateButton({
    Name = "D3x Script 2",
    Info = "Loads the second D3x script.",
    Callback = function()
        SafeLoadScript(Scripts.D3xScript2, "D3x Script 2")
    end
})

D3xTab:CreateButton({
    Name = "D3x Script 3",
    Info = "Loads the third D3x script.",
    Callback = function()
        SafeLoadScript(Scripts.D3xScript3, "D3x Script 3")
    end
})

-- Cool D3x Script: Example of making the player's character big with particle effects
D3xTab:CreateButton({
    Name = "Cool D3x Effect",
    Info = "Make your character super big and add cool particle effects.",
    Callback = function()
        -- Make the character big
        local player = game.Players.LocalPlayer
        local character = player.Character
        if character then
            local humanoid = character:FindFirstChildOfClass("Humanoid")
            if humanoid then
                humanoid:ChangeState(Enum.HumanoidStateType.Physics)
                character:SetPrimaryPartCFrame(character.PrimaryPart.CFrame * CFrame.new(0, 10, 0))  -- Lift the character up
                character:SetScale(10)  -- Increase size

                -- Add a cool particle effect (example: a fire effect)
                local fire = Instance.new("ParticleEmitter")
                fire.Parent = character:FindFirstChild("Head")
                fire.Texture = "http://[Log in to view URL]"  -- Fire texture
                fire.Lifetime = NumberRange.new(1, 2)
                fire.Rate = 100
            end
        end
    end
})

-- 📝 Scripts Tab
local ScriptsTab = Window:CreateTab("📝 Scripts", nil)

ScriptsTab:CreateButton({
    Name = "Infinite Yield",
    Info = "Loads the Infinite Yield Script.",
    Callback = function()
        SafeLoadScript(Scripts.InfiniteYield, "Infinite Yield")
    end
})

ScriptsTab:CreateButton({
    Name = "Teleport to Player",
    Info = "Loads the Teleport To Player Script.",
    Callback = function()
        SafeLoadScript(Scripts.TeleportToPlayer, "Teleport to Player")
    end
})

ScriptsTab:CreateButton({
    Name = "Orbit GUI",
    Info = "Loads Orbit GUI.",
    Callback = function()
        SafeLoadScript(Scripts.OrbitGUI, "Orbit GUI")
    end
})

ScriptsTab:CreateButton({
    Name = "Trolling Hub",
    Info = "Loads the FE Trolling Hub.",
    Callback = function()
        SafeLoadScript(Scripts.TrollingHub, "Trolling Hub")
    end
})

ScriptsTab:CreateButton({
    Name = "Server Crash",
    Info = "Loads Server Crash Script.",
    Callback = function()
        SafeLoadScript(Scripts.ServerCrash, "Server Crash")
    end
})

ScriptsTab:CreateButton({
    Name = "Capy Hub",
    Info = "Loads Capy Hub Script.",
    Callback = function()
        SafeLoadScript(Scripts.CapyHub, "Capy Hub")
    end
})

-- 📝 Settings Tab
local SettingTab = Window:CreateTab("📝 Settings", nil)
SettingTab:CreateButton({
    Name = "Exit Script",
    Info = "Exits the script.",
    Callback = function()
        Rayfield:Destroy()
    end
})

-- 🎮 Miscellaneous Tab
local MiscTab = Window:CreateTab("🎮 Misc", nil)
MiscTab:CreateLabel("Additional functionalities coming soon!")


local Button = ScriptsTab:CreateButton({
   Name = "Index Hub",
   Info = "Button info/Description.", -- Speaks for itself, Remove if none.
   Interact = 'Changable',
   Callback = function()
   loadstring(game:HttpGet("https://[Log in to view URL]"))()
   end,
})


local Button = ScriptsTab:CreateButton({
   Name = "OP GUI 2",
   Info = "Button info/Description.", -- Speaks for itself, Remove if none.
   Interact = 'Changable',
   Callback = function()
loadstring(game:HttpGet(('https://[Log in to view URL]'),true))()
   end,
})


local Button = FeTab:CreateButton({
   Name = "Fe FaceBang",
   Info = "Button info/Description.", -- Speaks for itself, Remove if none.
   Interact = 'Changable',
   Callback = function()
loadstring(game:HttpGet("https://[Log in to view URL]"))()

   end,
})


local Button = scriptsTab:CreateButton({
   Name = "HappyMod Remake",
   Info = "Button info/Description.", -- Speaks for itself, Remove if none.
   Interact = 'Changable',
   Callback = function()
loadstring(game:HttpGet("https://[Log in to view URL]"))()
   end,
})


local Button = scriptsTab:CreateButton({
   Name = "Cooki Hub 104 games supported",
   Info = "Button info/Description.", -- Speaks for itself, Remove if none.
   Interact = 'Changable',
   Callback = function()
loadstring(game:HttpGet('https://[Log in to view URL]'))()
   end,
})


local Button = ScriptsTab:CreateButton({
   Name = "Wisli Universal Project",
   Info = "Button info/Description.", -- Speaks for itself, Remove if none.
   Interact = 'Changable',
   Callback = function()
loadstring(game:HttpGet("https://[Log in to view URL]'i%20Universal%20Project.lua"))() 
   end,
})

Embed on website

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