Player Esp Script
Key Required

Player Esp Script

[TITLE UNAVAILABLE]DoesntMatterWhoIAmDoesntMatterWhoIAm 1.4K views 2.9K executesUpdated Apr 6, 2026
Unrated
00
Lua Script•169 lines (4915 chars)
-- Bite by night tuff player esp pretty good in my opinion

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

-- SETTINGS
local ESP_REFRESH = 0.5
local HP_REFRESH = 0.1
local TEXT_SIZE = 14

-- stuff
local function getHeadPart(character)
    return character:FindFirstChild("Head")
        or character:FindFirstChild("HumanoidRootPart")
        or character:FindFirstChildWhichIsA("BasePart")
end

-- stuff
local function getTorsoPart(character)
    return character:FindFirstChild("UpperTorso")
        or character:FindFirstChild("Torso")
        or character:FindFirstChild("HumanoidRootPart")
        or character:FindFirstChildWhichIsA("BasePart")
end

-- sigma esp
local function createHighlight(character, color)
    local old = character:FindFirstChild("ESPHighlight")
    if old then old:Destroy() end

    local h = Instance.new("Highlight")
    h.Name = "ESPHighlight"
    h.FillColor = color
    h.FillTransparency = 0.5
    h.OutlineColor = color
    h.OutlineTransparency = 0
    h.Adornee = character
    h.Parent = character
end

-- nametag
local function createName(character, player, color)
    local part = getHeadPart(character)
    if not part then return end

    local old = character:FindFirstChild("ESPName")
    if old then old:Destroy() end

    local bill = Instance.new("BillboardGui")
    bill.Name = "ESPName"
    bill.Adornee = part
    bill.Size = UDim2.new(0, 100, 0, 30)
    bill.StudsOffset = Vector3.new(0, 3, 0)
    bill.AlwaysOnTop = true
    bill.MaxDistance = math.huge

    local text = Instance.new("TextLabel")
    text.Name = "NameLabel"
    text.Size = UDim2.new(1, 0, 1, 0)
    text.BackgroundTransparency = 1
    text.Text = player.DisplayName
    text.TextColor3 = color
    text.TextStrokeTransparency = 0.5
    text.TextSize = TEXT_SIZE
    text.Font = Enum.Font.GothamBold

    text.Parent = bill
    bill.Parent = character
end

-- hp stuff
local function createHP(character, hp)
    local part = getTorsoPart(character)
    if not part then return end

    local old = character:FindFirstChild("ESPHP")
    if old then old:Destroy() end

    local bill = Instance.new("BillboardGui")
    bill.Name = "ESPHP"
    bill.Adornee = part
    bill.Size = UDim2.new(0, 60, 0, 25)
    bill.StudsOffset = Vector3.new(2, 1, 0)
    bill.AlwaysOnTop = true
    bill.MaxDistance = math.huge

    local text = Instance.new("TextLabel")
    text.Name = "HPLabel"
    text.Size = UDim2.new(1, 0, 1, 0)
    text.BackgroundTransparency = 1
    text.Text = tostring(math.floor(hp))
    text.TextColor3 = Color3.fromRGB(0, 255, 0)
    text.TextStrokeTransparency = 0.5
    text.TextSize = TEXT_SIZE - 2
    text.Font = Enum.Font.GothamBold

    text.Parent = bill
    bill.Parent = character
end

-- not very sigma of you
local function updateHP()
    for _, player in pairs(Players:GetPlayers()) do
        if player ~= LocalPlayer then
            local char = player.Character
            if char then
                local hum = char:FindFirstChildOfClass("Humanoid")
                if hum then
                    local isHighHP = hum.MaxHealth > 200

                    if not isHighHP then
                        local hpUI = char:FindFirstChild("ESPHP")

                        -- why are you still here?
                        if not hpUI then
                            createHP(char, hum.Health)
                        else
                            local label = hpUI:FindFirstChild("HPLabel")
                            if label then
                                label.Text = tostring(math.floor(hum.Health))
                            end
                        end
                    end
                end
            end
        end
    end
end

-- dude get out
local function updateESP()
    for _, player in pairs(Players:GetPlayers()) do
        if player ~= LocalPlayer then
            local char = player.Character
            if char then
                local hum = char:FindFirstChildOfClass("Humanoid")
                if hum then
                    local isHighHP = hum.MaxHealth > 200
                    local color = isHighHP and Color3.fromRGB(255, 0, 0)
                                           or Color3.fromRGB(255, 255, 255)

                    createHighlight(char, color)
                    createName(char, player, color)

                    -- hey man youre invading my private space
                    if isHighHP then
                        local oldHP = char:FindFirstChild("ESPHP")
                        if oldHP then oldHP:Destroy() end
                    end
                end
            end
        end
    end
end

-- why does this even matter to you?
task.spawn(function()
    while true do
        pcall(updateESP)
        task.wait(ESP_REFRESH)
    end
end)

task.spawn(function()
    while true do
        pcall(updateHP)
        task.wait(HP_REFRESH)
    end
end)

Features & Information

sigma and tuff bbn player esp script pretty good imo made by me it has hp stuff nametags custom survivor and killer highlight and esp refresh yeah thats it (DUDE WHY DOES THE HTTPS KEEP REFRESHING OMG)
#bitebynight#bbn

Community Comments (0)

No comments yet for this script.

More Scripts for [TITLE UNAVAILABLE]