Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
Workspace = :()
StarterGui = :()
UserInputService = :()
CoreGui = :()
CONFIG = {
ESP_ENABLED = ,
BEHIND_DETECTION_ENABLED = ,
DETECTION_DISTANCE = ,
DETECTION_SENSITIVITY = ,
COOLDOWN_TIME = ,
OBSCURRED_COLOR = .(, , ),
VISIBLE_COLOR = .(, , ),
WHITELIST_COLOR = .(, , ),
TEXT_COLOR = .(, , )
}
localPlayer = Players.LocalPlayer
camera = Workspace.CurrentCamera
mouse = localPlayer:()
whitelistedPlayers = {}
SAVE_FILE =
screenGui = .()
screenGui.Name =
screenGui.Parent = CoreGui
alertLabel = .()
alertLabel.Size = .(, , , )
alertLabel.Position = .(, -, , )
alertLabel.BackgroundTransparency =
alertLabel.TextColor3 = .(, , )
alertLabel.TextStrokeTransparency =
alertLabel.Font = .Font.GothamBold
alertLabel.TextSize =
alertLabel.TextWrapped =
alertLabel.Text =
alertLabel.Parent = screenGui
()
isfile (SAVE_FILE)
()
()
menuGui = .()
menuGui.Name =
menuGui.Parent = CoreGui
frame = .()
frame.Size = .(, , , )
frame.Position = .(, -, , -)
frame.BackgroundColor3 = .(, , )
frame.Active =
frame.Draggable =
frame.Parent = menuGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = frame
text = .()
text.Size = .(, -, , -)
text.Position = .(, , , )
text.BackgroundTransparency =
text.TextColor3 = .(, , )
text.TextSize =
text.Font = .Font.Gotham
text.TextXAlignment = .TextXAlignment.Left
text.TextWrapped =
text.Text =
text.Parent = frame
btn = .()
btn.Size = .(, , , )
btn.Position = .(, -, , -)
btn.Text =
btn.Parent = frame
btn.MouseButton1Click:(()
writefile (SAVE_FILE, )
menuGui:()
)
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
ctrl = UserInputService:(.KeyCode.LeftControl) UserInputService:(.KeyCode.RightControl)
input.KeyCode == .KeyCode.F
target = mouse.Target
target
char = target:()
player = Players:(char)
player player ~= localPlayer
whitelistedPlayers[player.UserId]
whitelistedPlayers[player.UserId] =
StarterGui:(, {Title = , Text = .. player.DisplayName, Duration = })
whitelistedPlayers[player.UserId] =
StarterGui:(, {Title = , Text = .. player.DisplayName, Duration = })
ctrl input.KeyCode == .KeyCode.G
CONFIG.ESP_ENABLED = CONFIG.ESP_ENABLED
StarterGui:(, {Title = , Text = .. (CONFIG.ESP_ENABLED ), Duration = })
ctrl input.KeyCode == .KeyCode.Y
CONFIG.BEHIND_DETECTION_ENABLED = CONFIG.BEHIND_DETECTION_ENABLED
StarterGui:(, {Title = , Text = .. (CONFIG.BEHIND_DETECTION_ENABLED ), Duration = })
)
(character, player)
highlight = character:()
highlight
highlight = .()
highlight.Name =
highlight.FillTransparency =
highlight.OutlineTransparency =
highlight.DepthMode = .HighlightDepthMode.AlwaysOnTop
highlight.Parent = character
head = character:()
espGui = character:()
head espGui
espGui = .()
espGui.Name =
espGui.Size = .(, , , )
espGui.StudsOffset = .(, , )
espGui.AlwaysOnTop =
espGui.Adornee = head
espGui.Parent = character
nL = .(, espGui)
nL.BackgroundTransparency =
nL.Size = .(, , , )
nL.TextColor3 = CONFIG.TEXT_COLOR
nL.Font = .Font.GothamBold
nL.TextSize =
nL.Text = player.DisplayName
highlight, espGui
(targetCharacter)
localPlayer.Character
head = targetCharacter:()
head
params = RaycastParams.()
params.FilterDescendantsInstances = {localPlayer.Character, targetCharacter}
params.FilterType = .RaycastFilterType.Exclude
result = Workspace:(camera.CFrame.Position, head.Position - camera.CFrame.Position, params)
result ==
RunService.RenderStepped:(()
myRoot = localPlayer.Character localPlayer.Character:()
behindAbove =
behindBelow =
behindLevel =
_, player (Players:())
player ~= localPlayer player.Character
char = player.Character
root = char:()
highlight, espGui = (char, player)
isWhitelisted = whitelistedPlayers[player.UserId]
highlight highlight.Enabled = CONFIG.ESP_ENABLED
espGui espGui.Enabled = CONFIG.ESP_ENABLED
CONFIG.ESP_ENABLED highlight
isWhitelisted
highlight.OutlineColor = CONFIG.WHITELIST_COLOR
highlight.OutlineColor = (char) CONFIG.VISIBLE_COLOR CONFIG.OBSCURRED_COLOR
CONFIG.BEHIND_DETECTION_ENABLED isWhitelisted myRoot root
dist = (myRoot.Position - root.Position).Magnitude
rel = myRoot.CFrame:(root.Position)
dist <= CONFIG.DETECTION_DISTANCE rel.Z > rel.Z > .(rel.X) * CONFIG.DETECTION_SENSITIVITY
rel.Y >
behindAbove = behindAbove +
rel.Y < -
behindBelow = behindBelow +
behindLevel = behindLevel +
messages = {}
behindAbove >
.(messages, .(, behindAbove))
behindLevel >
.(messages, .(, behindLevel))
behindBelow >
.(messages, .(, behindBelow))
#messages >
alertLabel.Text = .. .(messages, )
alertLabel.Text =
)
()This script is an advanced esp script, this script will alert you if a player is behind you, you can edit the distance for them to appear easily in the script. This also tells you if you are below you, or above you. This can be toggled with a keybind and so can all the other features. (keybinds are listed when script is executed. When a player is in view, their highlight will turn red, as to make sure you do not shoot someone who is out of sight to not arouse suspicion. Another keybind can whitelist players, this will turn their highlight green and not allow enemy detection to detect them.

Universal