CCCPaste

e0d98d5b8711b

--// Killer Hub by Juanma
-- Funciona en KRNL / Delta

-- Crear ScreenGui
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "KillerHub"
ScreenGui.Parent = game:GetService("CoreGui")

-- Frame principal
local HubFrame = Instance.new("Frame")
HubFrame.Size = UDim2.new(0, 300, 0, 350)
HubFrame.Position = UDim2.new(0.35, 0, 0.25, 0)
HubFrame.BackgroundTransparency = 1
HubFrame.BorderSizePixel = 0
HubFrame.Parent = ScreenGui

-- Bordes rainbow
local UIStroke = Instance.new("UIStroke")
UIStroke.Thickness = 3
UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
UIStroke.Parent = HubFrame

task.spawn(function()
    while task.wait() do
        for hue = 0, 1, 0.01 do
            UIStroke.Color = Color3.fromHSV(hue, 1, 1)
            task.wait(0.05)
        end
    end
end)

-- Drag
HubFrame.Active = true
HubFrame.Draggable = true

-- Función crear botón
local function CreateButton(name, position, callback)
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(0, 200, 0, 40)
    btn.Position = UDim2.new(0.17, 0, position, 0)
    btn.Text = name
    btn.TextColor3 = Color3.new(1,1,1)
    btn.BackgroundTransparency = 0.3
    btn.BackgroundColor3 = Color3.fromRGB(25,25,25)
    btn.Parent = HubFrame

    btn.MouseButton1Click:Connect(callback)
end

-------------------------------------------------------
-- Opción 1: Anti-Hit (Clon + Swap)
-------------------------------------------------------
CreateButton("Anti Hit", 0.1, function()
    local player = game.Players.LocalPlayer
    local char = player.Character
    if not char then return end

    -- Crear clon
    local clone = char:Clone()
    clone.Parent = workspace
    clone:SetPrimaryPartCFrame(char.HumanoidRootPart.CFrame)

    -- Teletransportar al clon (swap)
    char.HumanoidRootPart.CFrame = clone.HumanoidRootPart.CFrame * CFrame.new(0,3,0)

    warn("[Killer Hub] Anti-Hit activado: clon creado y swap hecho.")
end)

-------------------------------------------------------
-- Opción 2: Fly Base (TP a base)
-------------------------------------------------------
-- ⚠️ Necesitas poner la CFrame exacta de tu base
local baseCFrame = CFrame.new(0,10,0) -- cambia por coordenadas de tu base

CreateButton("Fly Base", 0.25, function()
    local player = game.Players.LocalPlayer
    local char = player.Character
    if not char then return end
    char.HumanoidRootPart.CFrame = baseCFrame
    warn("[Killer Hub] Fly Base activado.")
end)

-------------------------------------------------------
-- Opción 3: ESP Jugadores
-------------------------------------------------------
local ESP_ENABLED = false

local function addESP(player)
    if player.Character and player.Character:FindFirstChild("Head") then
        local bill = Instance.new("BillboardGui")
        bill.Adornee = player.Character.Head
        bill.Size = UDim2.new(0, 200, 0, 50)
        bill.AlwaysOnTop = true
        bill.Name = "ESP"
        local label = Instance.new("TextLabel", bill)
        label.Size = UDim2.new(1,0,1,0)
        label.Text = player.Name
        label.BackgroundTransparency = 1
        label.TextColor3 = Color3.fromRGB(255,0,0)
        bill.Parent = player.Character.Head
    end
end

CreateButton("ESP Players", 0.4, function()
    ESP_ENABLED = not ESP_ENABLED
    if ESP_ENABLED then
        for _,plr in pairs(game.Players:GetPlayers()) do
            if plr ~= game.Players.LocalPlayer then
                addESP(plr)
            end
        end
        game.Players.PlayerAdded:Connect(function(plr)
            plr.CharacterAdded:Connect(function()
                addESP(plr)
            end)
        end)
        warn("[Killer Hub] ESP activado.")
    else
        for _,plr in pairs(game.Players:GetPlayers()) do
            if plr.Character and plr.Character:FindFirstChild("Head") then
                local esp = plr.Character.Head:FindFirstChild("ESP")
                if esp then esp:Destroy() end
            end
        end
        warn("[Killer Hub] ESP desactivado.")
    end
end)

-------------------------------------------------------
-- Opción 4: Invisible (Brainrot trigger)
-------------------------------------------------------
-- ⚠️ Aquí depende del juego (invisibilidad es tricky en Roblox).
-- Ejemplo simple: destruye el Head y lo clona invisible.
CreateButton("Invisibilidad", 0.55, function()
    local player = game.Players.LocalPlayer
    local char = player.Character
    if not char then return end
    for _,part in pairs(char:GetChildren()) do
        if part:IsA("BasePart") then
            part.Transparency = 1
        end
    end
    warn("[Killer Hub] Invisibility activado.")
end)