Run it
Copy the script and paste it into your executor.
VERSION =
WINDUI_VERSION =
startedAt = .()
WindUI =
Window =
Container =
Connections = {}
Entries = {}
CONTAINER_NAME =
CONFIG = {
Version = VERSION,
WindUIVersion = WINDUI_VERSION,
MaxLogs = ,
Notifications = ,
}
Settings = {
Highlights = ,
MaxHighlights = ,
ShowDistance = ,
ShowHealth = ,
ScanInterval = ,
}
State = {
Running = ,
Logs = {},
TotalCreated = ,
TotalRemoved = ,
LastScan = ,
LastScanClock = ,
ScanDirty = ,
}
ENV = (() == ())
INSTANCE_KEY =
()
parents = {}
(gethui) ==
(()
.(parents, ())
)
(()
.(parents, :())
)
(()
lp = :().LocalPlayer
pg = lp lp:()
pg
.(parents, pg)
)
_, parent (parents)
(()
found = parent:(CONTAINER_NAME)
found
found:()
)
previous = ENV[INSTANCE_KEY]
previous (previous.Unload) ==
(previous.Unload)
.()
ENV[INSTANCE_KEY] =
()
(message)
(():(
.(),
(message)
))
(message)
.(State.Logs, {
Time = .(),
Message = (message),
})
#State.Logs > CONFIG.MaxLogs
.(State.Logs, )
(message)
(title, content, duration)
WindUI
()
ok, err = (()
WindUI:({
Title = title,
Content = content,
Duration = duration ,
})
)
ok
( .. (err))
(title, content, duration)
CONFIG.Notifications
(title, content, duration)
(connection)
.(Connections, connection)
connection
()
_, connection (Connections)
(()
connection:()
)
.(Connections)
()
() ~=
()
sourceUrl =
.. WINDUI_VERSION ..
response = :(sourceUrl)
(response) ~= #response <
()
chunk, compileError = (response)
chunk
( .. (compileError))
ok, result = (chunk)
ok
( .. (result))
(result) ~=
(result.CreateWindow) ~=
()
result
loadOK, loadResult = (loadWindUI)
loadOK
()
((loadResult))
WindUI = loadResult
( .. WINDUI_VERSION .. )
Players = :()
Workspace = :()
RunService = :()
UserInputService = :()
LocalPlayer = Players.LocalPlayer
()
folder = .()
folder.Name = CONTAINER_NAME
parent =
(gethui) ==
(()
parent = ()
)
parent
(()
parent = :()
)
ok = parent ~= (()
folder.Parent = parent
)
ok folder.Parent
folder.Parent = LocalPlayer:()
folder
Container = ()
CATEGORIES = {
{
Key = ,
Title = ,
Path = { },
Color = .(, , ),
Default = ,
MaxDistance = ,
Known = { , },
},
{
Key = ,
Title = ,
Path = { , },
Color = .(, , ),
Default = ,
MaxDistance = ,
Known = {
, , ,
, ,
},
},
{
Key = ,
Title = ,
Path = { , },
Color = .(, , ),
Default = ,
MaxDistance = ,
Known = {
, , ,
, , ,
},
},
{
Key = ,
Title = ,
Path = { , },
Color = .(, , ),
Default = ,
MaxDistance = ,
Known = {
, , , , , ,
, , , ,
, , ,
},
},
{
Key = ,
Title = ,
Path = { , },
Color = .(, , ),
Default = ,
MaxDistance = ,
Known = {
, , , , ,
, , , , , , ,
, , , , , ,
, , , , ,
, , ,
},
},
{
Key = ,
Title = ,
Path = { , },
Color = .(, , ),
Default = ,
MaxDistance = ,
Known = {
, , , , ,
, , , ,
,
},
},
}
TYPE_COLORS = {
Goblin = .(, , ),
Cow = .(, , ),
Gold = .(, , ),
Ruby = .(, , ),
Obamium = .(, , ),
Adamantite = .(, , ),
Mihtril = .(, , ),
Iron = .(, , ),
Coal = .(, , ),
}
TYPE_NOTES = {
LootChestWhite = ,
LootChestBlue = ,
LootChestOrange = ,
LootChestFree = ,
}
CatState = {}
(list)
set = {}
(list) ==
set[list] =
(list) ==
key, value (list)
(value) ==
set[value] =
value == (key) ==
set[key] =
set
_, cat (CATEGORIES)
cat.KnownSet = (cat.Known)
CatState[cat.Key] = {
Enabled = cat.Default,
MaxDistance = cat.MaxDistance,
Selected = (cat.Known),
}
(path)
current = Workspace
_, name (path)
current = current current:(name)
current
(name)
base = (name)
base = base:(, )
base = base:() base
base
(cat, typeName)
TYPE_COLORS[typeName]
TYPE_COLORS[typeName]
typeName:()
.(, , )
cat.Color
(cat, cs, typeName)
cat.KnownSet[typeName]
cs.Selected[typeName] ==
(root)
results = {}
root
results
_, descendant (root:())
descendant:() descendant:()
nested =
parent = descendant.Parent
parent parent ~= root
parent:() parent:()
nested =
parent = parent.Parent
nested
.(results, descendant)
results
(obj)
obj:()
obj
obj:()
obj.PrimaryPart
obj.PrimaryPart
_, descendant (obj:())
descendant:()
descendant
(obj)
ok, pos = (()
obj:().Position
)
ok
pos
()
character = LocalPlayer LocalPlayer.Character
root = character character:()
root
root.Position
camera = Workspace.CurrentCamera
camera
camera.CFrame.Position
.(, , )
(obj)
count =
_, descendant (obj:())
descendant:()
count +=
count
(entry)
entry.Highlight
(()
entry.Highlight:()
)
entry.Highlight =
(entry)
entry.Highlight entry.Highlight.Parent
highlight = .()
highlight.Name =
highlight.Adornee = entry.Obj
highlight.FillColor = entry.Color
highlight.OutlineColor = .(, , )
highlight.FillTransparency =
highlight.OutlineTransparency =
highlight.DepthMode = .HighlightDepthMode.AlwaysOnTop
highlight.Parent = Container
entry.Highlight = highlight
(obj)
entry = Entries[obj]
entry
(entry)
entry.Gui
(()
entry.Gui:()
)
Entries[obj] =
State.TotalRemoved +=
()
obj (Entries)
(obj)
.(Entries)
(cat)
obj, entry (Entries)
entry.Cat == cat
(obj)
(cat, obj, typeName)
part = (obj)
part
height =
(()
obj:()
height = obj:().Y /
height = obj.Size.Y /
)
height = .(height + , , )
color = (cat, typeName)
gui = .()
gui.Name =
gui.Adornee = part
gui.Size = .(, )
gui.StudsOffset = .(, height, )
gui.AlwaysOnTop =
gui.LightInfluence =
gui.Parent = Container
label = .()
label.Size = .(, )
label.BackgroundTransparency =
label.Text = typeName
label.TextColor3 = color
label.TextStrokeTransparency =
label.TextSize =
label.Font = .Font.GothamBold
label.Parent = gui
humanoid =
obj:()
humanoid = obj:()
Entries[obj] = {
Obj = obj,
Cat = cat,
Type = typeName,
Part = part,
Gui = gui,
Label = label,
Color = color,
Humanoid = humanoid,
Dist = ,
Text = ,
}
State.TotalCreated +=
(entry)
text = entry.Type
note = TYPE_NOTES[entry.Type]
note
text = text .. .. note ..
Settings.ShowDistance
text = text .. .. .(entry.Dist) ..
Settings.ShowHealth
health, maxHealth
entry.Humanoid entry.Humanoid.Parent
health = entry.Humanoid.Health
maxHealth = entry.Humanoid.MaxHealth
attrHealth = entry.Obj:()
attrMax = entry.Obj:()
(attrHealth) ==
health = attrHealth
maxHealth = (attrMax) == attrMax
health
maxHealth
text = text .. .. .(health) .. .. .(maxHealth)
text = text .. .. .(health) ..
text
()
State.ScanDirty =
missingWarned = {}
()
origin = ()
_, cat (CATEGORIES)
cs = CatState[cat.Key]
cs.Enabled
(cat)
root = (cat.Path)
root
(cat)
missingWarned[cat.Key]
missingWarned[cat.Key] =
(cat.Title .. .. .(cat.Path, ))
missingWarned[cat.Key] =
seen = {}
_, obj ((root))
typeName = (obj.Name)
(cat, cs, typeName)
pos = (obj)
pos (pos - origin).Magnitude <= cs.MaxDistance
seen[obj] =
Entries[obj]
(cat, obj, typeName)
obj, entry (Entries)
entry.Cat == cat seen[obj]
(obj)
State.LastScan = .()
()
origin = ()
list = {}
obj, entry (Entries)
cs = CatState[entry.Cat.Key]
cs.Enabled obj:(Workspace)
(obj)
entry.Part entry.Part:(Workspace)
entry.Part = (obj)
entry.Part
entry.Gui.Adornee = entry.Part
pos = (obj)
entry.Part pos
(obj)
entry.Dist = (pos - origin).Magnitude
text = (entry)
text ~= entry.Text
entry.Text = text
entry.Label.Text = text
.(list, entry)
Settings.Highlights
.(list, (a, b)
a.Dist < b.Dist
)
index, entry (list)
index <= Settings.MaxHighlights
(entry)
(entry)
_, entry (list)
(entry)
(path)
label = .. .(path, )
folder = (path)
( .. label .. )
folder
()
(label .. )
models, parts, folders = , ,
descendants = folder:()
_, object (descendants)
object:()
models +=
object:()
parts +=
object:()
folders +=
(, #folder:())
(, #descendants)
(, models, , parts, , folders)
()
_, child (folder:())
(child.Name, .. child.ClassName .. , , #child:())
()
(label .. )
()
()
_, child (Workspace:())
(child.Name, .. child.ClassName .. , , #child:())
()
()
(obj)
obj
()
(, obj.Name)
(, obj.ClassName)
(, obj:())
pos = (obj)
(, pos (pos) )
obj:()
(, obj.PrimaryPart obj.PrimaryPart.Name )
(, #obj:())
(, #obj:())
(, (obj))
humanoid = obj:()
humanoid
(, humanoid.Health .. .. humanoid.MaxHealth)
()
attributes = {}
(()
attributes = obj:()
)
()
hasAttributes =
key, value (attributes)
hasAttributes =
( .. (key) .. , value)
hasAttributes
()
(parent, depth)
depth >
(.(, depth) .. )
_, child (parent:())
(.(, depth) .. child.Name, .. child.ClassName .. )
(child, depth + )
()
(obj, )
()
()
origin = ()
nearest, nearestDist, nearestCat = , .huge,
_, cat (CATEGORIES)
root = (cat.Path)
_, obj ((root))
pos = (obj)
pos
dist = (pos - origin).Magnitude
dist < nearestDist
nearest, nearestDist, nearestCat = obj, dist, cat
nearest
()
(():(
nearest.Name, nearestCat.Title, .(nearestDist)
))
(nearest)
( .. nearest.Name)
()
()
_, cat (CATEGORIES)
root = (cat.Path)
( .. cat.Title .. .. .(cat.Path, ))
root
()
counts = {}
total =
_, obj ((root))
typeName = (obj.Name)
counts[typeName] = (counts[typeName] ) +
total +=
names = {}
name (counts)
.(names, name)
.(names)
(, total)
_, name (names)
(
.. name,
counts[name],
cat.KnownSet[name]
)
()
()
()
()
#State.Logs ==
()
_, entry (State.Logs)
( .. entry.Time .. .. entry.Message)
()
()
counts = {}
total =
_, entry (Entries)
counts[entry.Cat.Key] = (counts[entry.Cat.Key] ) +
total +=
()
(, VERSION)
(, WINDUI_VERSION)
(, LocalPlayer LocalPlayer.Name )
(, .PlaceId)
(, .GameId)
(, total)
_, cat (CATEGORIES)
cs = CatState[cat.Key]
(
.. cat.Title .. ,
counts[cat.Key] ,
cs.Enabled .. cs.MaxDistance ..
)
(, State.TotalCreated)
(, State.TotalRemoved)
(, State.LastScan)
()
Window = WindUI:({
Title = ,
Author = .. VERSION,
Icon = ,
Theme = ,
Size = .(, ),
MinSize = .(, ),
Resizable = ,
HideSearchBar = ,
Folder = ,
})
TOGGLE_KEYS = {
[.KeyCode.RightShift] = ,
[.KeyCode.RightControl] = ,
}
windowOpen =
lastToggle =
()
.() - lastToggle <
lastToggle = .()
ok = (()
Window:()
)
ok
windowOpen
ok = (()
Window:()
)
ok = (()
Window:()
)
ok
windowOpen = windowOpen
()
()
(UserInputService.InputBegan:((input)
input.UserInputType ~= .UserInputType.Keyboard
TOGGLE_KEYS[input.KeyCode]
UserInputService:()
()
))
(()
Window:({
Title = .. VERSION,
Color = ,
})
)
Dashboard = Window:({
Title = ,
Icon = ,
})
MobsTab = Window:({
Title = ,
Icon = ,
})
WorldTab = Window:({
Title = ,
Icon = ,
})
DiagnosticsTab = Window:({
Title = ,
Icon = ,
})
SettingsTab = Window:({
Title = ,
Icon = ,
})
(tab, title)
ok = (()
tab:({ Title = title })
)
ok
(()
tab:({ Title = title, Desc = })
)
(description, fn)
ok, err = (fn)
ok
( .. description .. .. (err))
(list)
copy = {}
_, value (list)
.(copy, value)
copy
(tab, cat)
cs = CatState[cat.Key]
(tab, cat.Title)
(cat.Title .. , ()
tab:({
Title = .. cat.Title .. ,
Value = cs.Enabled,
Callback = (value)
cs.Enabled = value
()
(cat.Title .. .. (value))
,
})
)
(cat.Title .. , ()
tab:({
Title = cat.Title .. ,
Step = ,
Value = {
Min = ,
Max = ,
Default = cs.MaxDistance,
},
Callback = (value)
number = (value)
number
cs.MaxDistance = number
()
,
})
)
(cat.Title .. , ()
tab:({
Title = cat.Title .. ,
Values = (cat.Known),
Value = (cat.Known),
Multi = ,
AllowNone = ,
Callback = (selection)
cs.Selected = (selection)
()
,
})
)
Dashboard:({
Title = ,
Desc = .. VERSION .. .. WINDUI_VERSION,
})
Dashboard:({
Title = ,
Desc = ,
})
Dashboard:({
Title = ,
Icon = ,
Callback = ()
()
(, )
,
})
Dashboard:({
Title = ,
Icon = ,
Callback = ()
()
(, )
,
})
Dashboard:({
Title = ,
Icon = ,
Callback = printLogs,
})
(MobsTab, CATEGORIES[])
MobsTab:({
Title = ,
Icon = ,
Callback = typeCensus,
})
index = , #CATEGORIES
(WorldTab, CATEGORIES[index])
DiagnosticsTab:({
Title = ,
Desc = ,
})
DiagnosticsTab:({
Title = ,
Icon = ,
Callback = inspectWorkspaceOverview,
})
DiagnosticsTab:({
Title = ,
Icon = ,
Callback = typeCensus,
})
DiagnosticsTab:({
Title = ,
Icon = ,
Callback = inspectNearest,
})
DiagnosticsTab:({
Title = ,
Icon = ,
Callback = ()
({ })
,
})
DiagnosticsTab:({
Title = ,
Icon = ,
Callback = ()
({ })
,
})
DiagnosticsTab:({
Title = ,
Icon = ,
Callback = ()
({ })
,
})
DiagnosticsTab:({
Title = ,
Icon = ,
Callback = ()
()
(, WindUI ~= )
(, LocalPlayer ~= )
(, Container Container.Parent )
(, Workspace:() )
_, cat (CATEGORIES)
(
cat.Title .. ,
(cat.Path)
)
(, .PlaceId)
(, .GameId)
(, RunService ~= )
()
()
(, )
,
})
DiagnosticsTab:({
Title = ,
Icon = ,
Callback = printLogs,
})
SettingsTab:({
Title = ,
Desc = ,
})
SettingsTab:({
Title = ,
Value = Settings.ShowDistance,
Callback = (value)
Settings.ShowDistance = value
,
})
SettingsTab:({
Title = ,
Value = Settings.ShowHealth,
Callback = (value)
Settings.ShowHealth = value
,
})
SettingsTab:({
Title = ,
Value = Settings.Highlights,
Callback = (value)
Settings.Highlights = value
( .. (value))
,
})
(, ()
SettingsTab:({
Title = ,
Step = ,
Value = {
Min = ,
Max = ,
Default = Settings.ScanInterval,
},
Callback = (value)
number = (value)
number
Settings.ScanInterval = number
,
})
)
SettingsTab:({
Title = ,
Value = CONFIG.Notifications,
Callback = (value)
CONFIG.Notifications = value
( .. (value))
value
(, )
,
})
SettingsTab:({
Title = ,
Icon = ,
Callback = ()
_, cat (CATEGORIES)
CatState[cat.Key].Enabled =
()
()
(, )
,
})
SettingsTab:({
Title = ,
Icon = ,
Callback = ()
.(State.Logs)
()
(, )
,
})
SettingsTab:({
Title = ,
Icon = ,
Callback = ()
()
key, value (CONFIG)
(key, value)
key, value (Settings)
( .. key, value)
_, cat (CATEGORIES)
cs = CatState[cat.Key]
(cat.Key, , cs.Enabled, , cs.MaxDistance)
()
,
})
.(()
State.Running
State.ScanDirty
.() - State.LastScanClock >= Settings.ScanInterval
State.ScanDirty =
State.LastScanClock = .()
ok, err = (scanAll)
ok
( .. (err))
.()
)
.(()
State.Running
ok, err = (updateEntries)
ok
( .. (err))
.()
)
()
State.Running
State.Running =
ENV[INSTANCE_KEY] ENV[INSTANCE_KEY].Unload == unload
ENV[INSTANCE_KEY] =
()
()
Container
(()
Container:()
)
()
destroyed =
_, methodName ({ , })
method = Window Window[methodName]
(method) ==
ok = (()
(Window)
)
ok
destroyed =
destroyed
()
()
ENV[INSTANCE_KEY] = { Unload = unload }
SettingsTab:({
Title = ,
Icon = ,
Callback = unload,
})
( .. VERSION .. )
(
,
.. VERSION .. ,
)
( .. VERSION .. )
()Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: github.com.
VIBECODED SCRIPT, READ BELOW FOR FEATURES. ESP labels for Mobs, Chests, Shrines, Camps, Resources and Pickups, each with its own on/off toggle, max-distance slider and type filter. Default state: Mobs, Chests and Shrines are on. Camps, Resources and Pickups are off, because trees and rocks would flood the screen. Mob species come from the name, so Cow_3 and Goblin_12 show as Cow and Goblin. New species like SPECIES_4/5/6 are picked up automatically and always shown. Label details: distance, health if the mob has a Humanoid or a Health attribute, and chest costs (white 25g, blue 80g, orange 200g). I labeled LootChestFree as “free?” since I wasnt sure. Colors: goblins are red, cows are white, and ores like Gold, Ruby and Obamium get their own colors. Highlights are optional and only apply to the nearest 30 objects, because Roblox only renders about 31 at once. The labels are the real ESP. Window key: RightShift and RightControl toggle the window, and re-executing the script replaces the old copy.