local namesToHighlight = { "Chica", "Foxy1", "Freddy", "Bonnie" } local StarterGui = game:GetService("StarterGui") StarterGui:SetCore("SendNotification", { Title = "ESP Loaded", Text = "hi there ty for using my script!", Duration = 5, Icon = "rbxassetid://6034287525" }) local function setupESP(object) if not object:IsA("Model") then return end if not table.find(namesToHighlight, object.Name) then return end if object:FindFirstChild("ESPHighlight") then return end local highlight = Instance.new("Highlight") highlight.Name = "ESPHighlight" highlight.FillColor = Color3.fromRGB(255, 0, 0) highlight.OutlineColor = Color3.new(1, 1, 1) highlight.Parent = object local bGui = Instance.new("BillboardGui") bGui.Name = "ESPLabel" bGui.Size = UDim2.new(0, 200, 0, 50) bGui.StudsOffset = Vector3.new(0, 4, 0) bGui.AlwaysOnTop = true bGui.Parent = object local label = Instance.new("TextLabel") label.Size = UDim2.new(1, 0, 1, 0) label.BackgroundTransparency = 1 label.TextColor3 = Color3.fromRGB(255, 0, 0) label.TextStrokeTransparency = 0.5 label.TextScaled = true label.Font = Enum.Font.SourceSansBold label.Parent = bGui task.spawn(function() while object.Parent do local camera = workspace.CurrentCamera local rootPart = object.PrimaryPart or object:FindFirstChildWhichIsA("BasePart") if camera and rootPart then local dist = math.floor((camera.CFrame.Position - rootPart.Position).Magnitude) label.Text = object.Name .. "\n" .. dist .. " Studs" end task.wait(0.1) end end) end for _, obj in ipairs(workspace:GetDescendants()) do setupESP(obj) end workspace.DescendantAdded:Connect(function(obj) setupESP(obj) end)