Run it
Copy the script and paste it into your executor.
ESP_SETTINGS = {
Enabled = ,
TeamCheck = ,
ShowName = ,
ShowDistance = ,
ShowHealth = ,
BoxESP = ,
TeamColor = .(, , ),
EnemyColor = .(, , ),
MaxDistance =
}
Players = :()
LocalPlayer = Players.LocalPlayer
RunService = :()
Camera = .CurrentCamera
(player)
ESP_SETTINGS.TeamCheck
player.Team == LocalPlayer.Team
(player)
player == LocalPlayer
espData = {
connections = {},
drawings = {
text = .(),
box = .()
}
}
_, drawing (espData.drawings)
drawing.Visible =
espData.drawings.text.Center =
espData.drawings.text.Outline =
espData.drawings.text.Font =
espData.drawings.text.Size =
espData.drawings.box.Thickness =
espData.drawings.box.Filled =
()
_, conn (espData.connections)
conn:()
espData.connections = {}
character = player.Character player.CharacterAdded:()
humanoid = character:()
humanoidRootPart = character:()
healthConn = humanoid:():(()
humanoid.Health <=
espData.drawings.text.Visible =
espData.drawings.box.Visible =
)
.(espData.connections, healthConn)
renderConn = RunService.RenderStepped:(()
ESP_SETTINGS.Enabled character humanoidRootPart humanoid humanoid.Health <=
espData.drawings.text.Visible =
espData.drawings.box.Visible =
distance = (LocalPlayer.Character.HumanoidRootPart.Position - humanoidRootPart.Position).Magnitude
distance > ESP_SETTINGS.MaxDistance
espData.drawings.text.Visible =
espData.drawings.box.Visible =
screenPos, onScreen = Camera:(humanoidRootPart.Position)
onScreen
espData.drawings.text.Visible =
espData.drawings.box.Visible =
color = (player) ESP_SETTINGS.TeamColor ESP_SETTINGS.EnemyColor
infoText =
ESP_SETTINGS.ShowName infoText = player.Name..
ESP_SETTINGS.ShowDistance infoText = infoText..string.(, distance)
ESP_SETTINGS.ShowHealth infoText = infoText..string.(, humanoid.Health)
espData.drawings.text.Text = infoText
espData.drawings.text.Position = .(screenPos.X, screenPos.Y)
espData.drawings.text.Color = color
espData.drawings.text.Visible =
ESP_SETTINGS.BoxESP
height = / (distance * )
width = height /
espData.drawings.box.Size = .(width, height)
espData.drawings.box.Position = .(screenPos.X - width/, screenPos.Y - height/)
espData.drawings.box.Color = color
espData.drawings.box.Visible =
espData.drawings.box.Visible =
)
.(espData.connections, renderConn)
player.CharacterAdded:(UpdateCharacter)
.(espData.connections, player.CharacterAdded:(UpdateCharacter))
player.CharacterRemoving:(()
espData.drawings.text.Visible =
espData.drawings.box.Visible =
)
.(espData.connections, player.CharacterRemoving:(()
espData.drawings.text.Visible =
espData.drawings.box.Visible =
))
player:():(()
player.Parent
_, conn (espData.connections)
conn:()
_, drawing (espData.drawings)
drawing:()
)
.(espData.connections, player:():(()
player.Parent
_, conn (espData.connections)
conn:()
_, drawing (espData.drawings)
drawing:()
))
()
_, player (Players:())
player ~= LocalPlayer
(player)
Players.PlayerAdded:((player)
(player)
)
Universal