while wait(3) do
for i,v in pairs(game:GetService("Workspace").Animals:GetDescendants()) do
if v.ClassName == 'Part' and v.Name == 'HumanoidRootPart' then
local BillboardGui = Instance.new('BillboardGui')
local TextLabel = Instance.new('TextLabel')
if not v.Parent:FindFirstChild("Animal Esp") then
BillboardGui.Parent = v.Parent
BillboardGui.AlwaysOnTop = true
BillboardGui.Size = UDim2.new(0, 50, 0, 50)
BillboardGui.StudsOffset = Vector3.new(0,2,0)
BillboardGui.Name = 'Animal Esp'
TextLabel.Parent = BillboardGui
TextLabel.BackgroundColor3 = Color3.new(1,1,1)
TextLabel.BackgroundTransparency = 1
TextLabel.Size = UDim2.new(1, 0, 1, 0)
TextLabel.Text = v.Parent.AnimalType.Value
TextLabel.TextColor3 = Color3.new(1, 0, 0)
TextLabel.TextScaled = false
if v.Parent.AnimalType.Value == "Dire Wolf" then
game.StarterGui:SetCore("SendNotification", {
Title = "Animal Notifier";
Text = "Dire Wolf has spawned";
Button1 = "Okay";
Duration = 10000;
})
end
end
end
end
end