local Players = game:GetService("Players") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer local SETTINGS = { PlayerColor = Color3.fromRGB(0, 255, 127), NPCColor = Color3.fromRGB(255, 50, 50), TextSize = 16 } local function createUltimateESP(model, color) if not model or model:FindFirstChild("UltimateESP") then return end local rootPart = model:FindFirstChild("HumanoidRootPart") if not rootPart then return end local highlight = Instance.new("Highlight") highlight.Name = "UltimateESP" highlight.FillColor = color highlight.FillTransparency = 0.4 highlight.OutlineColor = Color3.new(1, 1, 1) highlight.Parent = model local billboard = Instance.new("BillboardGui") billboard.Name = "ESP_Tag" billboard.Size = UDim2.new(0, 200, 0, 50) billboard.Adornee = model:FindFirstChild("Head") or rootPart billboard.AlwaysOnTop = true billboard.ExtentsOffset = Vector3.new(0, 3, 0) billboard.Parent = model local label = Instance.new("TextLabel") label.BackgroundTransparency = 1 label.Size = UDim2.new(1, 0, 1, 0) label.TextColor3 = color label.TextStrokeTransparency = 0 label.TextSize = SETTINGS.TextSize label.Font = Enum.Font.RobotoMono label.Parent = billboard local connection connection = RunService.RenderStepped:Connect(function() if not model.Parent or not rootPart.Parent then connection:Disconnect() return end local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") local distance = 0 if myRoot then distance = (myRoot.Position - rootPart.Position).Magnitude end label.Text = string.format("%s\n[%.1f m]", model.Name, distance) end) end local function isTarget(model) local hum = model:FindFirstChildOfClass("Humanoid") if hum then local player = Players:GetPlayerFromCharacter(model) if player then return player ~= LocalPlayer else return true end end return false end local function setupTarget(obj) if isTarget(obj) then local isPlayer = Players:GetPlayerFromCharacter(obj) local color = isPlayer and SETTINGS.PlayerColor or SETTINGS.NPCColor createUltimateESP(obj, color) end end for _, obj in ipairs(workspace:GetDescendants()) do task.spawn(setupTarget, obj) end workspace.DescendantAdded:Connect(function(obj) task.delay(0.1, setupTarget, obj) end) print("Ultimate ESP: Ready to hunt")