Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
LocalPlayer = Players.LocalPlayer
espEnabled = {
Zombie = , Heals = , Food = ,
Gas = , Armor = , Weapon = , Scrap = ,
}
espDistance =
ESP_COLORS = {
Zombie = .(, , ),
Heals = .( , , ),
Food = .( , , ),
Gas = .(, , ),
Armor = .( , , ),
Weapon = .(, , ),
Scrap = .(, , ),
}
TAG_MAP = {
Zombie = {,,,,,,},
Heals = {
, , , , , ,
, , ,
},
Food = {
,,,,,,,,
,,,,,,,,
,,,,,,,,
},
Gas = {,,,,,,,,,},
Armor = {
,,,,,,
,,,,,,
,,,,,,,,,
},
Weapon = {
,,,,,,,,,
,,,,,,,,,,,
,,,,,,,,,
,,,,,,,
,,,,,,,,,,,,,
,,,,,
,,,,,,,,
},
Scrap = {,,,,,,},
}
(name)
low = name:()
item, kws (TAG_MAP)
_, kw (kws)
low:(kw, , ) item
cachedObjects = {}
item (TAG_MAP) cachedObjects[item] = {}
(obj, item)
_, v (cachedObjects[item]) v == obj
(obj)
parent = obj.Parent
parent
parent.Name == (parent.Parent parent.Parent.Name == )
item = (obj.Name)
item (obj, item)
.(cachedObjects[item], obj)
parent.Name ==
isPlayer =
_, p (Players:())
p.Character == obj isPlayer = ;
isPlayer (obj, )
.(cachedObjects[], obj)
(obj)
_, list (cachedObjects)
i = #list, , -
list[i] == obj .(list, i)
(name)
folder = :(name)
folder
_, obj (folder:())
(obj)
_, child (obj:())
(child)
folder.ChildAdded:(tryRegister)
folder.ChildRemoved:(unregister)
()
()
.(, () (); () )
CAR_EXACT = {
[] = ,
[] = ,
}
CAR_CONTAINS = {,,,,}
(name)
CAR_EXACT[name]
low = name:()
_, kw (CAR_CONTAINS)
low:(kw, , )
(obj)
(obj:() obj:())
(obj.Name) (obj, )
.(cachedObjects[], obj)
()
_, obj (:())
(obj)
()
.(, scanCars)
.DescendantAdded:(tryRegisterCar)
.DescendantRemoving:(unregister)
activeESP = {}
(obj)
obj:() obj
obj:() obj.PrimaryPart obj.PrimaryPart
obj:(, )
(obj)
bp = (obj)
bp bp.Position
(obj, item, dist)
color = ESP_COLORS[item]
data = activeESP[obj]
data
h = .()
h.FillColor = color
h.OutlineColor = color
h.FillTransparency =
h.OutlineTransparency =
h.DepthMode = .HighlightDepthMode.AlwaysOnTop
h.Adornee = obj
h.Parent = obj
adornee = (obj)
bb
adornee
bb = .()
bb.Size = .(, , , )
bb.StudsOffset = .(, , )
bb.AlwaysOnTop =
bb.LightInfluence =
bb.Adornee = adornee
bb.Parent = obj
nameLbl = .(, bb)
nameLbl.Size = .(, , , )
nameLbl.BackgroundTransparency =
nameLbl.Text = obj.Name
nameLbl.TextColor3 = color
nameLbl.Font = .Font.GothamBold
nameLbl.TextSize =
nameLbl.TextXAlignment = .TextXAlignment.Center
nameLbl.TextStrokeTransparency =
nameLbl.TextStrokeColor3 = .(, , )
distLbl = .(, bb)
distLbl.Name =
distLbl.Size = .(, , , )
distLbl.Position = .(, , , )
distLbl.BackgroundTransparency =
distLbl.Text = .(dist) ..
distLbl.TextColor3 = .(, , )
distLbl.Font = .Font.Gotham
distLbl.TextSize =
distLbl.TextXAlignment = .TextXAlignment.Center
distLbl.TextStrokeTransparency =
distLbl.TextStrokeColor3 = .(, , )
activeESP[obj] = { highlight = h, billboard = bb }
data.billboard
distLbl = data.billboard:()
distLbl distLbl.Text = .(dist) ..
(obj)
data = activeESP[obj]
data
data.highlight data.highlight.Parent data.highlight:()
data.billboard data.billboard.Parent data.billboard:()
activeESP[obj] =
TICK_RATE =
ticker =
RunService.Heartbeat:((dt)
ticker = ticker + dt
ticker < TICK_RATE
ticker =
char = LocalPlayer.Character
root = char char:()
origin = root root.Position
shouldShow = {}
origin
item, enabled (espEnabled)
enabled
_, obj (cachedObjects[item])
obj obj.Parent
pos = (obj)
pos
d = (pos - origin).Magnitude
d <= espDistance
shouldShow[obj] = {item = item, dist = d}
obj, info (shouldShow) (obj, info.item, info.dist)
obj (activeESP)
shouldShow[obj] (obj)
)
.SurviveESP_Debug = ()
()
item, list (cachedObjects)
(item .. .. #list)
_, obj (list) ( .. obj.Name)
di = :()
di
()
_, c (di:()) ( .. c.Name)
()
BLACK = .(, , )
ORANGE = .(, , )
DARK_GREY = .(, , )
MID_GREY = .(, , )
WHITE = .(, , )
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.ZIndexBehavior = .ZIndexBehavior.Sibling
gui.Parent = (gethui ()) :()
outerFrame = .()
outerFrame.Name =
outerFrame.Size = .(, , , )
outerFrame.Position = .(, , , )
outerFrame.BackgroundColor3 = ORANGE
outerFrame.BorderSizePixel =
outerFrame.Active =
outerFrame.Draggable =
outerFrame.Parent = gui
.(, outerFrame).CornerRadius = .(, )
main = .()
main.Name =
main.Size = .(, -, , -)
main.Position = .(, , , )
main.BackgroundColor3 = BLACK
main.BorderSizePixel =
main.Parent = outerFrame
.(, main).CornerRadius = .(, )
title = .()
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Text =
title.TextColor3 = ORANGE
title.Font = .Font.GothamBold
title.TextSize =
title.Parent = main
toggleHint = .()
toggleHint.Size = .(, , , )
toggleHint.Position = .(, -, , )
toggleHint.BackgroundTransparency =
toggleHint.Text =
toggleHint.TextColor3 = .(, , )
toggleHint.Font = .Font.Gotham
toggleHint.TextSize =
toggleHint.TextXAlignment = .TextXAlignment.Right
toggleHint.TextYAlignment = .TextYAlignment.Top
toggleHint.Parent = main
(y)
d = .()
d.Size = .(, -, , )
d.Position = .(, , , y)
d.BackgroundColor3 = .(, , )
d.BorderSizePixel =
d.Parent = main
()
distLabel = .()
distLabel.Size = .(, -, , )
distLabel.Position = .(, , , )
distLabel.BackgroundTransparency =
distLabel.Text =
distLabel.TextColor3 = .(, , )
distLabel.Font = .Font.Gotham
distLabel.TextSize =
distLabel.TextXAlignment = .TextXAlignment.Left
distLabel.Parent = main
sliderTrack = .()
sliderTrack.Size = .(, -, , )
sliderTrack.Position = .(, , , )
sliderTrack.BackgroundColor3 = MID_GREY
sliderTrack.BorderSizePixel =
sliderTrack.Parent = main
.(, sliderTrack).CornerRadius = .(, )
sliderFill = .()
sliderFill.Size = .((espDistance - ) / , , , )
sliderFill.BackgroundColor3 = ORANGE
sliderFill.BorderSizePixel =
sliderFill.Parent = sliderTrack
.(, sliderFill).CornerRadius = .(, )
sliderHandle = .()
sliderHandle.Size = .(, , , )
sliderHandle.Position = .((espDistance - ) / , -, , -)
sliderHandle.BackgroundColor3 = WHITE
sliderHandle.BorderSizePixel =
sliderHandle.Text =
sliderHandle.Parent = sliderTrack
.(, sliderHandle).CornerRadius = .(, )
dragging =
sliderHandle.MouseButton1Down:(() dragging = )
UserInputService.InputEnded:((i)
i.UserInputType == .UserInputType.MouseButton1 dragging =
)
UserInputService.InputChanged:((i)
dragging i.UserInputType ~= .UserInputType.MouseMovement
ratio = .((i.Position.X - sliderTrack.AbsolutePosition.X) / sliderTrack.AbsoluteSize.X, , )
espDistance = .( + ratio * )
distLabel.Text = .. espDistance ..
sliderFill.Size = .(ratio, , , )
sliderHandle.Position = .(ratio, -, , -)
)
()
espHeader = .()
espHeader.Size = .(, -, , )
espHeader.Position = .(, , , )
espHeader.BackgroundTransparency =
espHeader.Text =
espHeader.TextColor3 = ORANGE
espHeader.Font = .Font.GothamBold
espHeader.TextSize =
espHeader.TextXAlignment = .TextXAlignment.Left
espHeader.Parent = main
ITEMS = {,,,,,,}
BASE_Y =
ROW_H =
toggleBtns = {}
dots = {}
()
y = BASE_Y
_, item (ITEMS)
toggleBtns[item].Position = .(, , , y)
dots[item].Position = .(, -, , y + )
y = y + ROW_H
totalH = y +
main.Size = .(, -, , totalH)
outerFrame.Size = .(, , , totalH + )
_, item (ITEMS)
col = ESP_COLORS[item]
btn = .()
btn.Size = .(, -, , )
btn.BackgroundColor3 = DARK_GREY
btn.BorderSizePixel =
btn.Text = item
btn.TextColor3 = .(, , )
btn.Font = .Font.Gotham
btn.TextSize =
btn.TextXAlignment = .TextXAlignment.Left
btn.AutoButtonColor =
btn.Parent = main
.(, btn).CornerRadius = .(, )
pad = .(, btn)
pad.PaddingLeft = .(, )
toggleBtns[item] = btn
accent = .()
accent.Name =
accent.Size = .(, , , -)
accent.Position = .(, , , )
accent.BackgroundColor3 = col
accent.BorderSizePixel =
accent.Visible =
accent.Parent = btn
.(, accent).CornerRadius = .(, )
dot = .()
dot.Size = .(, , , )
dot.BackgroundColor3 = .(, , )
dot.BorderSizePixel =
dot.Parent = main
.(, dot).CornerRadius = .(, )
dots[item] = dot
btn.MouseButton1Click:(()
espEnabled[item] = espEnabled[item]
on = espEnabled[item]
dot.BackgroundColor3 = on col .(, , )
accent.Visible = on
btn.TextColor3 = on col .(, , )
on
_, obj (cachedObjects[item]) (obj)
()
)
btn.MouseEnter:(() btn.BackgroundColor3 = .(, , ) )
btn.MouseLeave:(() btn.BackgroundColor3 = DARK_GREY )
()
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
input.KeyCode == .KeyCode.P
outerFrame.Visible = outerFrame.Visible
)I have never ever seen a survive the apocalypse ESP script that worked. So here is one.

馃 Survive the Apocalypse