
257 Views
57 Executions
hightlight script esp
Universal Script 📌
sh11tPublished 5
9 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
capslock to enable/off script
//xaydev
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local StarterGui = game:GetService("StarterGui")
local ESPEnabled = false
-- Notification helper
local function notify(msg)
StarterGui:SetCore("SendNotification", {
Title = "ESP",
Text = msg,
Duration = 2
})
end
local function addHighlight(player)
if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
if not player.Character:FindFirstChild("ESPHighlight") then
local highlight = Instance.new("Highlight")
highlight.Name = "ESPHighlight"
-- TeamColor fill
if player.Team and player.Team.TeamColor then
highlight.FillColor = player.Team.TeamColor.Color
else
highlight.FillColor = Color3.fromRGB(255, 0, 0)
end
highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
highlight.FillTransparency = 0.7
highlight.OutlineTransparency = 0
highlight.Parent = player.Character
end
end
end
local function removeHighlight(player)
if player.Character and player.Character:FindFirstChild("ESPHighlight") then
player.Character.ESPHighlight:Destroy()
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!






