Skip to content
Working

Bacon hub [V2.5]

CLclarkdevlinorg1 viewsUniversalJul 26, 2026
Share
Bacon hub [V2.5]

Script Code

Lua
-- === BACON HUB v2.5 - FUTURISTIC EDITION ===
-- Xeno Optimized | Draggable GUI | No Fly

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local Workspace = game:GetService("Workspace")
local Camera = Workspace.CurrentCamera
local LocalPlayer = Players.LocalPlayer

local BaconHub = {
    AimbotEnabled = false,
    ESPEnabled = true,
    Connections = {},
    ESP = {}
}

-- Futuristic GUI
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "BaconHub_Futuristic"
ScreenGui.ResetOnSpawn = false
ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")

local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 340, 0, 460)
MainFrame.Position = UDim2.new(0.5, -170, 0.5, -230)
MainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 15)
MainFrame.BorderSizePixel = 0
MainFrame.ClipsDescendants = true
MainFrame.Parent = ScreenGui

-- Futuristic Border
local Border = Instance.new("UIStroke")
Border.Color = Color3.fromRGB(0, 255, 150)
Border.Thickness = 2
Border.Parent = MainFrame

local Corner = Instance.new("UICorner")
Corner.CornerRadius = UDim.new(0, 12)
Corner.Parent = MainFrame

local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1, 0, 0, 60)
Title.BackgroundTransparency = 1
Title.Text = "BACON HUB v2.5"
Title.TextColor3 = Color3.fromRGB(0, 255, 180)
Title.Font = Enum.Font.GothamBlack
Title.TextSize = 22
Title.Parent = MainFrame

local Subtitle = Instance.new("TextLabel")
Subtitle.Size = UDim2.new(1, 0, 0, 20)
Subtitle.Position = UDim2.new(0, 0, 0, 38)
Subtitle.BackgroundTransparency = 1
Subtitle.Text = "UNIVERSAL  FUTURISTIC"
Subtitle.TextColor3 = Color3.fromRGB(100, 255, 200)
Subtitle.Font = Enum.Font.Gotham
Subtitle.TextSize = 13
Subtitle.Parent = MainFrame

-- Glow Effect
local Glow = Instance.new("Frame")
Glow.Size = UDim2.new(1, 0, 1, 0)
Glow.BackgroundTransparency = 1
Glow.Parent = MainFrame

-- Make GUI Draggable
local dragging, dragInput, dragStart, startPos

local function updateDrag(input)
    local delta = input.Position - dragStart
    MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end

Title.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        dragging = true
        dragStart = input.Position
        startPos = MainFrame.Position
        
        input.Changed:Connect(function()
            if input.UserInputState == Enum.UserInputState.End then
                dragging = false
            end
        end)
    end
end)

Title.InputChanged:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
        dragInput = input
    end
end)

UserInputService.InputChanged:Connect(function(input)
    if dragging and input == dragInput then
        updateDrag(input)
    end
end)

-- Toggle Creator
local yOffset = 90
local function CreateToggle(text, default, callback)
    local ToggleFrame = Instance.new("Frame")
    ToggleFrame.Size = UDim2.new(1, -40, 0, 45)
    ToggleFrame.Position = UDim2.new(0, 20, 0, yOffset)
    ToggleFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
    ToggleFrame.Parent = MainFrame

    local UICorner2 = Instance.new("UICorner")
    UICorner2.CornerRadius = UDim.new(0, 8)
    UICorner2.Parent = ToggleFrame

    local Label = Instance.new("TextLabel")
    Label.Size = UDim2.new(0.7, 0, 1, 0)
    Label.BackgroundTransparency = 1
    Label.Text = "  " .. text
    Label.TextColor3 = Color3.new(1,1,1)
    Label.Font = Enum.Font.GothamSemibold
    Label.TextXAlignment = Enum.TextXAlignment.Left
    Label.Parent = ToggleFrame

    local Button = Instance.new("TextButton")
    Button.Size = UDim2.new(0, 80, 0, 32)
    Button.Position = UDim2.new(1, -90, 0.5, -16)
    Button.BackgroundColor3 = default and Color3.fromRGB(0, 255, 140) or Color3.fromRGB(80, 80, 90)
    Button.Text = default and "ENABLED" or "DISABLED"
    Button.TextColor3 = Color3.new(1,1,1)
    Button.Font = Enum.Font.GothamBold
    Button.TextSize = 12
    Button.Parent = ToggleFrame

    local ButtonCorner = Instance.new("UICorner")
    ButtonCorner.CornerRadius = UDim.new(0, 6)
    ButtonCorner.Parent = Button

    Button.MouseButton1Click:Connect(function()
        default = not default
        Button.BackgroundColor3 = default and Color3.fromRGB(0, 255, 140) or Color3.fromRGB(80, 80, 90)
        Button.Text = default and "ENABLED" or "DISABLED"
        callback(default)
    end)

    yOffset = yOffset + 60
end

-- Simple ESP
local function UpdateESP()
    for _, player in ipairs(Players:GetPlayers()) do
        if player == LocalPlayer or not player.Character then continue end

        local root = player.Character:FindFirstChild("HumanoidRootPart")
        if not root then continue end

        if not BaconHub.ESP[player] then
            local bg = Instance.new("BillboardGui")
            bg.Adornee = root
            bg.Size = UDim2.new(0, 200, 0, 70)
            bg.StudsOffset = Vector3.new(0, 4, 0)
            bg.AlwaysOnTop = true
            bg.Parent = player.Character

            local label = Instance.new("TextLabel")
            label.Size = UDim2.new(1,0,1,0)
            label.BackgroundTransparency = 1
            label.TextColor3 = Color3.fromRGB(0, 255, 180)
            label.TextStrokeTransparency = 0.7
            label.Font = Enum.Font.GothamBold
            label.TextSize = 14
            label.Parent = bg

            BaconHub.ESP[player] = {BG = bg, Label = label}
        end

        local data = BaconHub.ESP[player]
        local hum = player.Character:FindFirstChild("Humanoid")
        local dist = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") 
            and math.floor((root.Position - LocalPlayer.Character.HumanoidRootPart.Position).Magnitude) or 0

        data.Label.Text = string.format("%s\n%d studs\nHP: %d", player.Name, dist, hum and math.floor(hum.Health) or 0)
    end
end

-- Aimbot
BaconHub.Connections.Aimbot = RunService.RenderStepped:Connect(function()
    if not BaconHub.AimbotEnabled then return end
    local char = LocalPlayer.Character
    if not char or not char:FindFirstChild("HumanoidRootPart") then return end

    local closest, shortest = nil, math.huge
    for _, plr in ipairs(Players:GetPlayers()) do
        if plr ~= LocalPlayer and plr.Character and plr.Character:FindFirstChild("Head") then
            local d = (plr.Character.Head.Position - Camera.CFrame.Position).Magnitude
            if d < shortest then
                shortest = d
                closest = plr.Character.Head
            end
        end
    end

    if closest then
        Camera.CFrame = CFrame.lookAt(Camera.CFrame.Position, closest.Position)
    end
end)

-- ESP Loop
BaconHub.Connections.ESP = RunService.Heartbeat:Connect(UpdateESP)

-- Create Toggles
CreateToggle("AIMBOT", false, function(state) BaconHub.AimbotEnabled = state end)
CreateToggle("ESP (Players)", true, function(state) BaconHub.ESPEnabled = state end)

local Status = Instance.new("TextLabel")
Status.Size = UDim2.new(1, 0, 0, 40)
Status.Position = UDim2.new(0, 0, 1, -45)
Status.BackgroundTransparency = 1
Status.Text = "STATUS: ACTIVE"
Status.TextColor3 = Color3.fromRGB(0, 255, 150)
Status.Font = Enum.Font.GothamBold
Status.TextSize = 16
Status.Parent = MainFrame

print(" Bacon Hub v2.5 Futuristic Loaded on Xeno!")
print("Drag the title bar to move the GUI.")

Description

Its bacon hub 2.5 version it must works complety fine cuz i dont know what happens gng

Comments (0)

Log in to join the conversation

  • Be the first to comment.

Frequently asked questions

How do I use the Bacon hub [V2.5] script?
Copy the script code above, open your Roblox executor, paste the code, and press execute while you're in the game. The features activate instantly once the script runs.
Is the Bacon hub [V2.5] script free?
Yes. This script is free to copy and use. If it uses a key system, follow the "Get key" link to unlock it at no cost.
Is the Bacon hub [V2.5] script safe to use?
The full source code is shown on this page so you can read exactly what it does before running it. Always use a trusted executor, and remember that using scripts is against Roblox's terms of service, so use them at your own risk.
Which executor works with Bacon hub [V2.5]?
This script works with most popular Roblox executors. Check our executors page to find a trusted free or paid executor for your device.
Bacon hub [V2.5] | BloxScripter