Description
No Gui [>] ESP
-- Define game and workspace
local game = game
local workspace = game:GetService("Workspace")
local players = game:GetService("Players")
-- Retrieve the Killer object from Workspace
local killer = workspace:FindFirstChild("Killer")
-- Initialize variables for tracking monsters
local lastMonsters = {}
local currentMonsters = {}
-- Function to update monsters
local function updateMonsters()
-- Clear previous monsters
lastMonsters = currentMonsters
currentMonsters = {}
-- Iterate through the descendants of Killer
for _, descendant in ipairs(killer:GetDescendants()) do
-- Check if the descendant is valid
if descendant:IsA("Model") then
-- Check if the descendant is a monster
if descendant.Name:find("Monster") then
table.insert(currentMonsters, descendant)
end
end
end
-- Check for new monsters
local newMonsters = {}
for _, monster in ipairs(currentMonsters) do
if not table.find(lastMonsters, monster) then
table.insert(newMonsters, monster)
end
end
-- Print new monsters
if #newMonsters > 0 then
print("\nNew Monsters:")
for _, monster in ipairs(newMonsters) do
print("- " .. monster.Name)
end
end
end
-- Function to print monsters
local function printMonsters(monsters)
if #monsters > 0 then
for index, monster in ipairs(monsters) do
print(index .. ". " .. monster.Name)
-- Highlight the monster's body
local highlight = Instance.new("SelectionBox")
highlight.Color3 = Color3.new(1, 0, 0) -- Red color for highlighting
highlight.LineThickness = 0.05
highlight.Adornee = monster
highlight.Parent = monster
end
else
print("No monsters found.")
end
end
-- Function for auto-update every second
local function autoUpdate()
while true do
updateMonsters()
wait(1) -- Wait for 1 second before updating again
end
end
-- Function to start auto-update
local function startAutoUpdate()
spawn(autoUpdate)
end
-- Print initial monsters
if killer then
print("Initial Monsters:")
updateMonsters()
printMonsters(currentMonsters)
-- Start auto-update
startAutoUpdate()
else
print("Killer object not found in Workspace.")
end