Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
LocalPlayer = Players.LocalPlayer
Camera = .CurrentCamera
ESP = {
Enabled = ,
BeamEnabled = ,
TeamCheck = ,
MaxDistance = ,
Box = {
Color = .(, , ),
Thickness = ,
},
Tracer = {
Color = .(, , ),
Thickness = ,
},
Name = {
Color = .(, , ),
Size = ,
}
}
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = LocalPlayer:()
ScreenGui.ResetOnSpawn =
MainFrame = .()
MainFrame.Size = .(, , , )
MainFrame.Position = .(, , , )
MainFrame.BackgroundColor3 = .(, , )
MainFrame.BorderSizePixel =
MainFrame.Parent = ScreenGui
Corner = .()
Corner.CornerRadius = .(, )
Corner.Parent = MainFrame
UIListLayout = .()
UIListLayout.Parent = MainFrame
UIListLayout.Padding = .(, )
UIListLayout.HorizontalAlignment = .HorizontalAlignment.Center
UIListLayout.VerticalAlignment = .VerticalAlignment.Center
(text, toggleTable, toggleVar)
Btn = .()
Btn.Size = .(, , , )
Btn.BackgroundColor3 = toggleTable[toggleVar] .(, , ) .(, , )
Btn.Text = text .. .. (toggleTable[toggleVar] )
Btn.TextColor3 = .(, , )
Btn.Font = .Font.GothamBold
Btn.TextSize =
Btn.AutoButtonColor =
Btn.BorderSizePixel =
Btn.Parent = MainFrame
BtnCorner = .()
BtnCorner.CornerRadius = .(, )
BtnCorner.Parent = Btn
Btn.MouseButton1Click:(()
toggleTable[toggleVar] = toggleTable[toggleVar]
Btn.Text = text .. .. (toggleTable[toggleVar] )
Btn.BackgroundColor3 = toggleTable[toggleVar] .(, , ) .(, , )
)
(, ESP, )
(, ESP, )
ESPObjects = {}
(, properties)
drawing = .()
prop, value (properties) drawing[prop] = value
drawing
(Player)
Drawings = {
Box = (, {Visible = , Color = ESP.Box.Color, Thickness = ESP.Box.Thickness, Filled = }),
Tracer = (, {Visible = , Color = ESP.Tracer.Color, Thickness = ESP.Tracer.Thickness}),
Name = (, {Visible = , Color = ESP.Name.Color, Size = ESP.Name.Size, Center = , Outline = }),
HealthBarOutline = (, {Visible = , Color = .(,,), Thickness = , Filled = }),
HealthBar = (, {Visible = , Color = .(,,), Thickness = , Filled = })
}
ESPObjects[Player] = Drawings
(Player, Drawings)
char = Player.Character
hum = char char:()
root = char char:()
(char hum root) (ESP.TeamCheck Player.Team == LocalPlayer.Team)
_, d (Drawings) d.Visible =
pos, onScreen = Camera:(root.Position)
onScreen
_, d (Drawings) d.Visible =
distance = (Camera.CFrame.Position - root.Position).Magnitude
distance > ESP.MaxDistance
_, d (Drawings) d.Visible =
boxSize = .( / pos.Z, / pos.Z)
boxPos = .(pos.X - boxSize.X / , pos.Y - boxSize.Y / )
showESP = ESP.Enabled
Drawings.Box.Visible = showESP
Drawings.Box.Size = boxSize
Drawings.Box.Position = boxPos
Drawings.Name.Visible = showESP
Drawings.Name.Text = .(, Player.Name, .(distance))
Drawings.Name.Position = .(pos.X, boxPos.Y - )
healthPct = .(hum.Health / hum.MaxHealth, , )
Drawings.HealthBarOutline.Visible = showESP
Drawings.HealthBarOutline.Size = .(, boxSize.Y)
Drawings.HealthBarOutline.Position = .(boxPos.X - , boxPos.Y)
Drawings.HealthBar.Visible = showESP
Drawings.HealthBar.Size = .(, boxSize.Y * healthPct)
Drawings.HealthBar.Position = .(boxPos.X - , boxPos.Y + boxSize.Y - Drawings.HealthBar.Size.Y)
Drawings.HealthBar.Color = .(, , ):(.(, , ), healthPct)
Drawings.Tracer.Visible = ESP.BeamEnabled
Drawings.Tracer.From = .(Camera.ViewportSize.X / , )
Drawings.Tracer.To = .(pos.X, pos.Y)
RunService.RenderStepped:(()
Player, Drawings (ESPObjects)
Player.Parent
(Player, Drawings)
_, d (Drawings) d:()
ESPObjects[Player] =
)
Players.PlayerAdded:(CreateESP)
Players.PlayerRemoving:((p)
ESPObjects[p]
_, d (ESPObjects[p]) d:()
ESPObjects[p] =
)
_, p (Players:())
p ~= LocalPlayer (p)
Universal Esp

Universal