Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
Workspace = :()
lp = Players.LocalPlayer
camera = Workspace.CurrentCamera
gui = .()
gui.Name =
gui.IgnoreGuiInset =
gui.ResetOnSpawn =
gui.Parent = lp:()
panel = .()
panel.Name =
panel.Size = .(, )
panel.Position = .(, -, , -)
panel.BackgroundColor3 = .(,,)
panel.BorderSizePixel =
panel.Active =
panel.Parent = gui
corner = .(, panel)
corner.CornerRadius = .(,)
title = .()
title.BackgroundTransparency =
title.Size = .(, -, , )
title.Position = .(, , , )
title.Font = .Font.GothamBold
title.TextSize =
title.TextColor3 = .(,,)
title.TextXAlignment = .TextXAlignment.Left
title.Text =
title.Parent = panel
btn = .()
btn.Size = .(, )
btn.Position = .(, , , )
btn.Font = .Font.GothamBold
btn.TextSize =
btn.Text =
btn.BackgroundColor3 = .(,,)
btn.TextColor3 = .(,,)
btn.AutoButtonColor =
btn.Parent = panel
btnCorner = .(, btn)
btnCorner.CornerRadius = .(,)
espBtn = .()
espBtn.Size = .(, )
espBtn.Position = .(, , , )
espBtn.Font = .Font.GothamBold
espBtn.TextSize =
espBtn.Text =
espBtn.BackgroundColor3 = .(,,)
espBtn.TextColor3 = .(,,)
espBtn.AutoButtonColor =
espBtn.Parent = panel
espBtnCorner = .(, espBtn)
espBtnCorner.CornerRadius = .(,)
tag = .()
tag.BackgroundTransparency =
tag.Size = .(, -, , )
tag.Position = .(, , , -)
tag.Font = .Font.GothamSemibold
tag.TextSize =
tag.TextXAlignment = .TextXAlignment.Left
tag.TextColor3 = .(,,)
tag.Text =
tag.Parent = panel
dragging, dragStart, startPos
panel.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
dragStart = input.Position
startPos = panel.Position
input.Changed:(()
input.UserInputState == .UserInputState.End dragging =
)
)
UserInputService.InputChanged:((input)
dragging input.UserInputType == .UserInputType.MouseMovement
delta = input.Position - dragStart
panel.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
(plr)
c = plr.Character
c c.Parent
hum = c:()
head = c:()
hum hum.Health > head head:()
c, hum, head
(head)
head head.Parent
origin = camera.CFrame.Position
dir = head.Position - origin
dir.Magnitude <
params = RaycastParams.()
params.FilterType = .RaycastFilterType.Exclude
params.FilterDescendantsInstances = { lp.Character }
result = Workspace:(origin, dir, params)
result
model = head:()
result.Instance model result.Instance:(model)
()
mouse = lp:()
part = mouse.Target
part
model = part:()
model
pl = Players:(model)
pl pl == lp
_, _, head = (pl)
head (head)
head
()
myChar = lp.Character
root = myChar myChar:()
root
bestHead, bestDist
_, pl (Players:())
pl ~= lp
_, _, head = (pl)
head (head)
d = (head.Position - root.Position).Magnitude
bestDist d < bestDist
bestHead, bestDist = head, d
bestHead
(head)
mdl = head head:()
p = mdl Players:(mdl)
p p.Name
on =
currentHead
rsConn
()
btn.Text = (on ) ..
btn.BackgroundColor3 = on .(,,) .(,,)
tag.Text = currentHead (..(currentHead))
(head)
camera.CameraType = .CameraType.Custom
pos = camera.CFrame.Position
camera.CFrame = .(pos, head.Position)
hum = lp.Character lp.Character:()
hum camera.CameraSubject = hum
()
on
currentHead
mdl = currentHead:()
hum = mdl mdl:()
hum hum.Health <= (currentHead)
currentHead =
()
currentHead
currentHead = () ()
currentHead ()
currentHead (currentHead)
(currentHead)
camera.CameraType = .CameraType.Custom
()
rsConn rsConn:()
rsConn = RunService.RenderStepped:(step)
()
rsConn rsConn:(); rsConn =
currentHead =
camera.CameraType = .CameraType.Custom
hum = lp.Character lp.Character:()
hum camera.CameraSubject = hum
()
()
on = on
()
on () ()
btn.MouseButton1Click:(toggle)
UserInputService.InputBegan:((input, gp)
gp
input.KeyCode == .KeyCode.L
()
input.UserInputType == .UserInputType.MouseButton1 on
h = ()
h
currentHead = h
()
)
Players.LocalPlayer.CharacterAdded:(()
on (); .(); ()
)
()
espOn =
espCache = {}
(plr)
entry = espCache[plr]
entry
entry.hl entry.hl.Parent entry.hl:()
entry.bb entry.bb.Parent entry.bb:()
espCache[plr] =
(plr)
espOn
plr == lp
char, hum, head = (plr)
char head
espCache[plr] espCache[plr].char == char
(plr)
hl = .()
hl.Name =
hl.FillTransparency =
hl.OutlineTransparency =
hl.OutlineColor = .(,,)
hl.DepthMode = .HighlightDepthMode.AlwaysOnTop
hl.Adornee = char
hl.Parent = char
bb = .()
bb.Name =
bb.Size = .(, )
bb.AlwaysOnTop =
bb.MaxDistance =
bb.StudsOffset = .(, , )
bb.Adornee = head
bb.Parent = head
tl = .()
tl.BackgroundTransparency =
tl.Size = .(,,,)
tl.TextScaled =
tl.Font = .Font.GothamBold
tl.Text = plr.Name
tl.TextColor3 = .(,,)
tl.Parent = bb
espCache[plr] = { hl = hl, bb = bb, char = char }
(plr)
plr == lp
plr.CharacterAdded:((char)
espOn
.(()
char:(, )
(plr)
)
)
plr.Character
.(()
(plr)
)
_, p (Players:())
(p)
Players.PlayerAdded:(trackPlayer)
Players.PlayerRemoving:((plr)
(plr)
)
(state)
espOn = state
espBtn.Text = .. (espOn )
espBtn.BackgroundColor3 = espOn .(,,) .(,,)
espOn
p (espCache) (p)
_, p (Players:())
(p)
espBtn.MouseButton1Click:(()
( espOn)
)
Locks on to people head and ESP