Подписывайтесь на наш Telegram и не пропускайте важные новости! Перейти

Undetected Silent Aim для Da Hood и копии

  • Автор темы Автор темы dapssyy
  • Дата начала Дата начала
Начинающий
Начинающий
Статус
Оффлайн
Регистрация
25 Фев 2025
Сообщения
37
Реакции
1
Выберите плейс
  1. Da Hood
валяется уже год но все еще работает для да худа и в копиях (сделан каким то чудиком)

code_language.lua:
Expand Collapse Copy
-- Silent Aim GUI

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

-- ─── Config ───────────────────────────────────────────────────────────────────
getgenv().Silent = {
    Enabled = true,
    Prediction = 0,
    TargetPart = "Head",
    FOVRadius = 300,
    FOVVisible = true,
    FOVTransparency = 0.5,
    KnockCheck = true,   -- Skip targets with 0 HP (knocked/dead)
    MinHealth = 1,       -- Minimum HP required to be a valid target
}

-- ─── GUI Setup ────────────────────────────────────────────────────────────────
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "SilentAimGUI"
ScreenGui.ResetOnSpawn = false
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

-- Try to use CoreGui to survive LocalScript resets
pcall(function()
    ScreenGui.Parent = game:GetService("CoreGui")
end)
if not ScreenGui.Parent then
    ScreenGui.Parent = player.PlayerGui
end

-- ─── Theme ────────────────────────────────────────────────────────────────────
local Theme = {
    Bg          = Color3.fromRGB(10, 12, 16),
    Panel       = Color3.fromRGB(15, 19, 25),
    Border      = Color3.fromRGB(30, 37, 48),
    Accent      = Color3.fromRGB(0, 229, 255),
    AccentDim   = Color3.fromRGB(0, 100, 120),
    Red         = Color3.fromRGB(255, 60, 110),
    Text        = Color3.fromRGB(200, 216, 232),
    Dim         = Color3.fromRGB(74, 90, 106),
    White       = Color3.fromRGB(255, 255, 255),
}

-- ─── Utility ──────────────────────────────────────────────────────────────────
local function makeTween(obj, t, props)
    return TweenService:Create(obj, TweenInfo.new(t, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), props)
end

local function newInstance(class, props, parent)
    local inst = Instance.new(class)
    for k, v in pairs(props) do inst[k] = v end
    if parent then inst.Parent = parent end
    return inst
end

-- ─── Main Window ──────────────────────────────────────────────────────────────
local Main = newInstance("Frame", {
    Name = "Main",
    Size = UDim2.new(0, 280, 0, 0), -- height set below
    Position = UDim2.new(0.5, -140, 0.5, -160),
    BackgroundColor3 = Theme.Panel,
    BorderSizePixel = 0,
    ClipsDescendants = true,
}, ScreenGui)

newInstance("UICorner", { CornerRadius = UDim.new(0, 6) }, Main)

-- Top accent line
newInstance("Frame", {
    Size = UDim2.new(1, 0, 0, 2),
    BackgroundColor3 = Theme.Accent,
    BorderSizePixel = 0,
}, Main)

-- Drop shadow
newInstance("ImageLabel", {
    Size = UDim2.new(1, 30, 1, 30),
    Position = UDim2.new(0, -15, 0, -15),
    BackgroundTransparency = 1,
    Image = "rbxassetid://5554236805",
    ImageColor3 = Color3.fromRGB(0, 0, 0),
    ImageTransparency = 0.6,
    ZIndex = -1,
    ScaleType = Enum.ScaleType.Slice,
    SliceCenter = Rect.new(23, 23, 277, 277),
}, Main)

-- ─── Title Bar ────────────────────────────────────────────────────────────────
local TitleBar = newInstance("Frame", {
    Size = UDim2.new(1, 0, 0, 36),
    Position = UDim2.new(0, 0, 0, 2),
    BackgroundColor3 = Color3.fromRGB(12, 16, 22),
    BorderSizePixel = 0,
}, Main)

-- Pulsing dot
local PulseDot = newInstance("Frame", {
    Size = UDim2.new(0, 8, 0, 8),
    Position = UDim2.new(0, 12, 0.5, -4),
    BackgroundColor3 = Theme.Accent,
    BorderSizePixel = 0,
}, TitleBar)
newInstance("UICorner", { CornerRadius = UDim.new(1, 0) }, PulseDot)

newInstance("TextLabel", {
    Size = UDim2.new(1, -80, 1, 0),
    Position = UDim2.new(0, 28, 0, 0),
    BackgroundTransparency = 1,
    Text = "SILENT AIM",
    TextColor3 = Theme.Accent,
    Font = Enum.Font.Code,
    TextSize = 13,
    TextXAlignment = Enum.TextXAlignment.Left,
}, TitleBar)

newInstance("TextLabel", {
    Size = UDim2.new(0, 60, 1, 0),
    Position = UDim2.new(1, -68, 0, 0),
    BackgroundTransparency = 1,
    Text = "v1.0.0",
    TextColor3 = Theme.Dim,
    Font = Enum.Font.Code,
    TextSize = 10,
    TextXAlignment = Enum.TextXAlignment.Right,
}, TitleBar)

-- Minimize button
local MinBtn = newInstance("TextButton", {
    Size = UDim2.new(0, 24, 0, 24),
    Position = UDim2.new(1, -30, 0.5, -12),
    BackgroundColor3 = Color3.fromRGB(20, 26, 34),
    BorderSizePixel = 0,
    Text = "−",
    TextColor3 = Theme.Dim,
    Font = Enum.Font.GothamBold,
    TextSize = 14,
}, TitleBar)
newInstance("UICorner", { CornerRadius = UDim.new(0, 4) }, MinBtn)

-- ─── Content Frame ────────────────────────────────────────────────────────────
local Content = newInstance("Frame", {
    Name = "Content",
    Size = UDim2.new(1, 0, 0, 10), -- auto-sized by layout
    Position = UDim2.new(0, 0, 0, 38),
    BackgroundTransparency = 1,
}, Main)

local ContentLayout = newInstance("UIListLayout", {
    SortOrder = Enum.SortOrder.LayoutOrder,
    Padding = UDim.new(0, 0),
}, Content)

-- ─── Component Builders ───────────────────────────────────────────────────────

-- Section header
local function Section(title, order)
    local frame = newInstance("Frame", {
        Size = UDim2.new(1, 0, 0, 28),
        BackgroundTransparency = 1,
        LayoutOrder = order,
    }, Content)
    newInstance("TextLabel", {
        Size = UDim2.new(1, -20, 1, 0),
        Position = UDim2.new(0, 12, 0, 0),
        BackgroundTransparency = 1,
        Text = title,
        TextColor3 = Theme.Dim,
        Font = Enum.Font.Code,
        TextSize = 9,
        TextXAlignment = Enum.TextXAlignment.Left,
    }, frame)
    -- separator line
    newInstance("Frame", {
        Size = UDim2.new(1, -24, 0, 1),
        Position = UDim2.new(0, 12, 1, -1),
        BackgroundColor3 = Theme.Border,
        BorderSizePixel = 0,
    }, frame)
    return frame
end

-- Toggle row
local function Toggle(labelText, default, order, callback)
    local frame = newInstance("Frame", {
        Size = UDim2.new(1, 0, 0, 38),
        BackgroundTransparency = 1,
        LayoutOrder = order,
    }, Content)

    newInstance("TextLabel", {
        Size = UDim2.new(1, -60, 1, 0),
        Position = UDim2.new(0, 14, 0, 0),
        BackgroundTransparency = 1,
        Text = labelText,
        TextColor3 = Theme.Text,
        Font = Enum.Font.Gotham,
        TextSize = 13,
        TextXAlignment = Enum.TextXAlignment.Left,
    }, frame)

    local trackBg = newInstance("Frame", {
        Size = UDim2.new(0, 42, 0, 22),
        Position = UDim2.new(1, -56, 0.5, -11),
        BackgroundColor3 = default and Theme.AccentDim or Theme.Border,
        BorderSizePixel = 0,
    }, frame)
    newInstance("UICorner", { CornerRadius = UDim.new(1, 0) }, trackBg)

    local thumb = newInstance("Frame", {
        Size = UDim2.new(0, 14, 0, 14),
        Position = default and UDim2.new(0, 24, 0.5, -7) or UDim2.new(0, 4, 0.5, -7),
        BackgroundColor3 = default and Theme.Accent or Theme.Dim,
        BorderSizePixel = 0,
    }, trackBg)
    newInstance("UICorner", { CornerRadius = UDim.new(1, 0) }, thumb)

    local enabled = default
    local btn = newInstance("TextButton", {
        Size = UDim2.new(1, 0, 1, 0),
        BackgroundTransparency = 1,
        Text = "",
    }, frame)

    btn.MouseButton1Click:Connect(function()
        enabled = not enabled
        makeTween(thumb, 0.15, { Position = enabled and UDim2.new(0, 24, 0.5, -7) or UDim2.new(0, 4, 0.5, -7) }):Play()
        makeTween(thumb, 0.15, { BackgroundColor3 = enabled and Theme.Accent or Theme.Dim }):Play()
        makeTween(trackBg, 0.15, { BackgroundColor3 = enabled and Theme.AccentDim or Theme.Border }):Play()
        callback(enabled)
    end)

    return frame
end

-- Slider row
local function Slider(labelText, min, max, default, decimals, order, callback)
    local frame = newInstance("Frame", {
        Size = UDim2.new(1, 0, 0, 52),
        BackgroundTransparency = 1,
        LayoutOrder = order,
    }, Content)

    newInstance("TextLabel", {
        Size = UDim2.new(0.6, 0, 0, 20),
        Position = UDim2.new(0, 14, 0, 4),
        BackgroundTransparency = 1,
        Text = labelText,
        TextColor3 = Theme.Text,
        Font = Enum.Font.Gotham,
        TextSize = 13,
        TextXAlignment = Enum.TextXAlignment.Left,
    }, frame)

    local valLabel = newInstance("TextLabel", {
        Size = UDim2.new(0.4, -14, 0, 20),
        Position = UDim2.new(0.6, 0, 0, 4),
        BackgroundTransparency = 1,
        Text = tostring(default),
        TextColor3 = Theme.Accent,
        Font = Enum.Font.Code,
        TextSize = 12,
        TextXAlignment = Enum.TextXAlignment.Right,
    }, frame)

    -- Track background
    local trackBg = newInstance("Frame", {
        Size = UDim2.new(1, -28, 0, 3),
        Position = UDim2.new(0, 14, 0, 34),
        BackgroundColor3 = Theme.Border,
        BorderSizePixel = 0,
    }, frame)
    newInstance("UICorner", { CornerRadius = UDim.new(1, 0) }, trackBg)

    -- Fill
    local fill = newInstance("Frame", {
        Size = UDim2.new((default - min) / (max - min), 0, 1, 0),
        BackgroundColor3 = Theme.Accent,
        BorderSizePixel = 0,
    }, trackBg)
    newInstance("UICorner", { CornerRadius = UDim.new(1, 0) }, fill)

    -- Thumb
    local thumbSlider = newInstance("Frame", {
        Size = UDim2.new(0, 14, 0, 14),
        Position = UDim2.new((default - min) / (max - min), -7, 0.5, -7),
        BackgroundColor3 = Theme.Accent,
        BorderSizePixel = 0,
        ZIndex = 2,
    }, trackBg)
    newInstance("UICorner", { CornerRadius = UDim.new(1, 0) }, thumbSlider)

    local dragging = false

    local function updateSlider(x)
        local absPos = trackBg.AbsolutePosition.X
        local absSize = trackBg.AbsoluteSize.X
        local pct = math.clamp((x - absPos) / absSize, 0, 1)
        local val = min + (max - min) * pct
        val = math.floor(val * (10 ^ decimals) + 0.5) / (10 ^ decimals)
        fill.Size = UDim2.new(pct, 0, 1, 0)
        thumbSlider.Position = UDim2.new(pct, -7, 0.5, -7)
        valLabel.Text = tostring(val)
        callback(val)
    end

    local inputConn, movedConn

    thumbSlider.InputBegan:Connect(function(inp)
        if inp.UserInputType == Enum.UserInputType.MouseButton1 or inp.UserInputType == Enum.UserInputType.Touch then
            dragging = true
        end
    end)

    trackBg.InputBegan:Connect(function(inp)
        if inp.UserInputType == Enum.UserInputType.MouseButton1 then
            dragging = true
            updateSlider(inp.Position.X)
        end
    end)

    movedConn = UserInputService.InputChanged:Connect(function(inp)
        if dragging and (inp.UserInputType == Enum.UserInputType.MouseMovement or inp.UserInputType == Enum.UserInputType.Touch) then
            updateSlider(inp.Position.X)
        end
    end)

    inputConn = UserInputService.InputEnded:Connect(function(inp)
        if inp.UserInputType == Enum.UserInputType.MouseButton1 or inp.UserInputType == Enum.UserInputType.Touch then
            dragging = false
        end
    end)

    return frame
end

-- Dropdown row
local function Dropdown(labelText, options, default, order, callback)
    local frame = newInstance("Frame", {
        Size = UDim2.new(1, 0, 0, 44),
        BackgroundTransparency = 1,
        LayoutOrder = order,
        ClipsDescendants = false,
    }, Content)

    newInstance("TextLabel", {
        Size = UDim2.new(0.45, 0, 0, 20),
        Position = UDim2.new(0, 14, 0, 12),
        BackgroundTransparency = 1,
        Text = labelText,
        TextColor3 = Theme.Text,
        Font = Enum.Font.Gotham,
        TextSize = 13,
        TextXAlignment = Enum.TextXAlignment.Left,
    }, frame)

    local dropBtn = newInstance("TextButton", {
        Size = UDim2.new(0, 120, 0, 26),
        Position = UDim2.new(1, -134, 0.5, -13),
        BackgroundColor3 = Theme.Bg,
        BorderSizePixel = 0,
        Text = default .. "  ▾",
        TextColor3 = Theme.Text,
        Font = Enum.Font.Gotham,
        TextSize = 12,
        ZIndex = 3,
    }, frame)
    newInstance("UICorner", { CornerRadius = UDim.new(0, 4) }, dropBtn)
    newInstance("UIStroke", { Color = Theme.Border, Thickness = 1 }, dropBtn)

    local listFrame = newInstance("Frame", {
        Size = UDim2.new(0, 120, 0, #options * 26),
        Position = UDim2.new(1, -134, 1, 2),
        BackgroundColor3 = Color3.fromRGB(12, 16, 22),
        BorderSizePixel = 0,
        ZIndex = 10,
        Visible = false,
    }, frame)
    newInstance("UICorner", { CornerRadius = UDim.new(0, 4) }, listFrame)
    newInstance("UIStroke", { Color = Theme.Border, Thickness = 1 }, listFrame)
    newInstance("UIListLayout", { SortOrder = Enum.SortOrder.LayoutOrder }, listFrame)

    for i, opt in ipairs(options) do
        local optBtn = newInstance("TextButton", {
            Size = UDim2.new(1, 0, 0, 26),
            BackgroundColor3 = opt == default and Color3.fromRGB(15, 22, 30) or Color3.fromRGB(12, 16, 22),
            BorderSizePixel = 0,
            Text = opt,
            TextColor3 = opt == default and Theme.Accent or Theme.Text,
            Font = Enum.Font.Gotham,
            TextSize = 12,
            ZIndex = 11,
            LayoutOrder = i,
        }, listFrame)

        optBtn.MouseButton1Click:Connect(function()
            dropBtn.Text = opt .. "  ▾"
            listFrame.Visible = false
            callback(opt)
        end)

        optBtn.MouseEnter:Connect(function()
            makeTween(optBtn, 0.1, { BackgroundColor3 = Color3.fromRGB(18, 26, 36) }):Play()
        end)
        optBtn.MouseLeave:Connect(function()
            makeTween(optBtn, 0.1, { BackgroundColor3 = Color3.fromRGB(12, 16, 22) }):Play()
        end)
    end

    dropBtn.MouseButton1Click:Connect(function()
        listFrame.Visible = not listFrame.Visible
    end)

    return frame
end

-- Status bar
local function StatusBar(order)
    local frame = newInstance("Frame", {
        Size = UDim2.new(1, 0, 0, 30),
        BackgroundColor3 = Color3.fromRGB(8, 10, 14),
        BorderSizePixel = 0,
        LayoutOrder = order,
    }, Content)

    local dot = newInstance("Frame", {
        Size = UDim2.new(0, 6, 0, 6),
        Position = UDim2.new(0, 12, 0.5, -3),
        BackgroundColor3 = Theme.Accent,
        BorderSizePixel = 0,
    }, frame)
    newInstance("UICorner", { CornerRadius = UDim.new(1, 0) }, dot)

    local statusLabel = newInstance("TextLabel", {
        Size = UDim2.new(1, -30, 1, 0),
        Position = UDim2.new(0, 24, 0, 0),
        BackgroundTransparency = 1,
        Text = "ACTIVE — HEAD / FOV 300",
        TextColor3 = Theme.Dim,
        Font = Enum.Font.Code,
        TextSize = 10,
        TextXAlignment = Enum.TextXAlignment.Left,
    }, frame)

    return frame, dot, statusLabel
end

-- ─── Build UI ─────────────────────────────────────────────────────────────────
Section("CORE", 1)
Toggle("Enabled", getgenv().Silent.Enabled, 2, function(v)
    getgenv().Silent.Enabled = v
end)

Section("AIMBOT", 3)
Dropdown("Target Part", {"Head","HumanoidRootPart","Torso","UpperTorso","LowerTorso"}, getgenv().Silent.TargetPart, 4, function(v)
    getgenv().Silent.TargetPart = v
end)
Slider("Prediction", 0, 1, getgenv().Silent.Prediction, 2, 5, function(v)
    getgenv().Silent.Prediction = v
end)

Section("FOV CIRCLE", 6)
Toggle("Visible", getgenv().Silent.FOVVisible, 7, function(v)
    getgenv().Silent.FOVVisible = v
end)
Slider("FOV Radius", 50, 600, getgenv().Silent.FOVRadius, 0, 8, function(v)
    getgenv().Silent.FOVRadius = v
end)
Slider("Transparency", 0, 1, getgenv().Silent.FOVTransparency, 2, 9, function(v)
    getgenv().Silent.FOVTransparency = v
end)

Section("KNOCK CHECK", 10)
Toggle("Skip Knocked", getgenv().Silent.KnockCheck, 11, function(v)
    getgenv().Silent.KnockCheck = v
end)
Slider("Min Health", 0, 100, getgenv().Silent.MinHealth, 0, 12, function(v)
    getgenv().Silent.MinHealth = v
end)

local statusFrame, statusDot, statusLabel = StatusBar(13)

-- ─── Resize Main to Content ───────────────────────────────────────────────────
RunService.Heartbeat:Wait()
ContentLayout:ApplyLayout()
Content.Size = UDim2.new(1, 0, 0, ContentLayout.AbsoluteContentSize.Y)
Main.Size = UDim2.new(0, 280, 0, 38 + 2 + ContentLayout.AbsoluteContentSize.Y)

-- ─── Status Updater ───────────────────────────────────────────────────────────
RunService.Heartbeat:Connect(function()
    local s = getgenv().Silent
    if s.Enabled then
        statusDot.BackgroundColor3 = Theme.Accent
        local knockStr = s.KnockCheck and (" / HP>" .. s.MinHealth) or ""
        statusLabel.Text = string.format("ACTIVE — %s / FOV %d%s", s.TargetPart:upper(), s.FOVRadius, knockStr)
    else
        statusDot.BackgroundColor3 = Theme.Red
        statusLabel.Text = "DISABLED"
    end
end)

-- ─── Pulse Animation ─────────────────────────────────────────────────────────
coroutine.wrap(function()
    while true do
        makeTween(PulseDot, 1, { BackgroundTransparency = 0.7 }):Play()
        wait(1)
        makeTween(PulseDot, 1, { BackgroundTransparency = 0 }):Play()
        wait(1)
    end
end)()

-- ─── Draggable ────────────────────────────────────────────────────────────────
do
    local dragging, dragStart, startPos
    TitleBar.InputBegan:Connect(function(inp)
        if inp.UserInputType == Enum.UserInputType.MouseButton1 then
            dragging = true
            dragStart = inp.Position
            startPos = Main.Position
        end
    end)
    UserInputService.InputChanged:Connect(function(inp)
        if dragging and inp.UserInputType == Enum.UserInputType.MouseMovement then
            local delta = inp.Position - dragStart
            Main.Position = UDim2.new(
                startPos.X.Scale, startPos.X.Offset + delta.X,
                startPos.Y.Scale, startPos.Y.Offset + delta.Y
            )
        end
    end)
    UserInputService.InputEnded:Connect(function(inp)
        if inp.UserInputType == Enum.UserInputType.MouseButton1 then
            dragging = false
        end
    end)
end

-- ─── Minimize ─────────────────────────────────────────────────────────────────
do
    local minimized = false
    local fullHeight = Main.Size.Y.Offset
    MinBtn.MouseButton1Click:Connect(function()
        minimized = not minimized
        MinBtn.Text = minimized and "+" or "−"
        makeTween(Main, 0.25, {
            Size = UDim2.new(0, 280, 0, minimized and 38 or fullHeight)
        }):Play()
    end)
end

-- ─── FOV Circle Drawing ───────────────────────────────────────────────────────
local circle
pcall(function()
    circle = Drawing.new("Circle")
    circle.Color = Color3.fromRGB(255, 255, 255)
    circle.Thickness = 2
    circle.Filled = false
    circle.Transparency = getgenv().Silent.FOVTransparency
    circle.Radius = getgenv().Silent.FOVRadius
    circle.Visible = getgenv().Silent.FOVVisible
end)

local function updateFOVCircle()
    if not circle then return end
    pcall(function()
        local guiInset = game:GetService("GuiService"):GetGuiInset()
        circle.Position = Vector2.new(Mouse.X, Mouse.Y + guiInset.Y)
        circle.Radius = getgenv().Silent.FOVRadius
        circle.Transparency = getgenv().Silent.FOVTransparency
        circle.Visible = getgenv().Silent.FOVVisible
    end)
end
RunService.RenderStepped:Connect(updateFOVCircle)

-- ─── Knock / Death Check ─────────────────────────────────────────────────────
local function IsValidTarget(v)
    local s = getgenv().Silent
    if not v.Character then return false end
    -- Check humanoid exists
    local hum = v.Character:FindFirstChildOfClass("Humanoid")
    if not hum then return false end
    -- Knock check: skip if Health is at or below MinHealth threshold
    if s.KnockCheck and hum.Health <= s.MinHealth then return false end
    -- Must have the target part
    if not v.Character:FindFirstChild(s.TargetPart) then return false end
    return true
end

-- ─── Closest Target ───────────────────────────────────────────────────────────
local function GetClosestForSilent()
    local closest, distance = nil, getgenv().Silent.FOVRadius
    for _, v in ipairs(Players:GetPlayers()) do
        if v ~= player and IsValidTarget(v) then
            local pos, onScreen = Camera:WorldToScreenPoint(v.Character[getgenv().Silent.TargetPart].Position)
            if onScreen then
                local diff = (Vector2.new(pos.X, pos.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude
                if diff < distance then
                    distance = diff
                    closest = v
                end
            end
        end
    end
    return closest
end

-- ─── Silent Aim Hook ──────────────────────────────────────────────────────────
local mt = getrawmetatable(game)
setreadonly(mt, false)
local __index = mt.__index
mt.__index = function(self, key)
    if getgenv().Silent.Enabled and self == Mouse and key == "Hit" then
        local target = GetClosestForSilent()
        if target and target.Character and target.Character:FindFirstChild(getgenv().Silent.TargetPart) then
            local part = target.Character[getgenv().Silent.TargetPart]
            return (part.CFrame + (part.Velocity * getgenv().Silent.Prediction))
        end
    end
    return __index(self, key)
end
setreadonly(mt, true)
 
Назад
Сверху Снизу