local getNil = function(name, class) for _, v in next, getnilinstances() do if v.ClassName == class and v.Name == name then return v end end end getNil("Egg", "MeshPart") local CoreGui = game:GetService("CoreGui") local RunService = game:GetService("RunService") local FillColor = Color3.fromRGB(175, 25, 255) local DepthMode = Enum.HighlightDepthMode.AlwaysOnTop local FillTransparency = 0.5 local OutlineColor = Color3.fromRGB(255, 255, 255) local OutlineTransparency = 0 local Storage = Instance.new("Folder") Storage.Name = "EggHighlightStorage" Storage.Parent = CoreGui local function addHighlight(egg) if not Storage:FindFirstChild(egg:GetDebugId()) and not egg:FindFirstChild("EggESP_HL") then local hl = Instance.new("Highlight") hl.Name = "EggESP_HL" hl.FillColor = FillColor hl.FillTransparency = FillTransparency hl.OutlineColor = OutlineColor hl.OutlineTransparency = OutlineTransparency hl.DepthMode = DepthMode hl.Adornee = egg hl.Parent = Storage end end -- Cache and update eggs once every 1 second task.spawn(function() while true do for _, obj in ipairs(workspace:GetDescendants()) do if obj:IsA("MeshPart") and obj.Name == "Egg" then addHighlight(obj) end end task.wait(1) -- reduce frequency of scanning for new eggs end end)