Universal Highlight NPCs
Key RequiredUniversal

Universal Highlight NPCs

Universal ScriptXWellyXWelly 7.3K views 1.1K executesUpdated Feb 6, 2025
5.0/ 5(2 votes)
20100% Positive
Lua Script•18 lines (489 chars)
local function applyHighlight(item)
    if item:IsA("Humanoid") then
        local highlight = Instance.new("Highlight")
        local parent = item.Parent
        if parent then
            local plr = game.Players:GetPlayerFromCharacter(parent)
            if not plr then
                highlight.Parent = parent
            end
        end
    end
end

for _, item in pairs(workspace:GetDescendants()) do
    applyHighlight(item)
end

workspace.DescendantAdded:Connect(applyHighlight)

Features & Information

Highlights All NPCs, even through walls. This works on mobile too. If the script is executed and you can’t see the NPC highlighted, knowing the NPC is in game, that’s because the NPC is far away from you. (The script still work and will show when an npc is close to you.) All you gotta do is execute. NOTE: The original script didn’t had a loop command and players will have to execute repeatedly for new NPCs to show, eventually causing disruption in performance. So I did some rewriting and modifications to the script so the script itself will loop with better performance and without lag. Credits/Original script by: braverpsx Rescripted by me.
#Npc#esp#highlight#universal

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts