
3.1k Views
164 Executions
ESP made by the best AI model
Universal Script 📌
indonesiangamer777Published 10
2 years 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
btw this took only ONE prompt
--!optimize 2
--!native
-- // Services
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local CoreGui = game:GetService("CoreGui") -- Alternative parent for Highlight if needed
-- // Local Player Variables
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- Ensure PlayerGui is loaded
-- // Configuration
local ESP_ENABLED = true -- Toggle the entire ESP on/off
local TEAM_CHECK_ENABLED = true -- << NEW: Only show ESP for players NOT on your team
local SHOW_NAMES = true
local SHOW_HEALTH = true
local USE_HIGHLIGHT = true -- Use the Highlight instance for outlines
local HIGHLIGHT_COLOR = Color3.fromRGB(255, 50, 50) -- Red for enemies (adjust as needed)
local HIGHLIGHT_FILL_TRANSPARENCY = 0.8
local NAME_COLOR = Color3.fromRGB(255, 255, 255) -- White name
local HEALTH_BAR_ENABLED = true -- Simple bar above health text
local HEALTH_BAR_SIZE = UDim2.new(0, 100, 0, 5) -- Width 100px, Height 5px
local MAX_DISTANCE = 1000 -- Only show ESP for players within this distance (in studs). Set to math.huge for infinite.
-- // ESP Management Table
local espInstances = {} -- Store references to created ESP elements { Player = { BillboardGui, Highlight } }
-- // Function to clean up ESP for a specific player
local function CleanupESP(targetPlayer)
if espInstances[targetPlayer] then
if espInstances[targetPlayer].BillboardGui then
espInstances[targetPlayer].BillboardGui:Destroy()
end
if espInstances[targetPlayer].Highlight then
espInstances[targetPlayer].Highlight:Destroy()
end
espInstances[targetPlayer] = nil -- Remove entry
end
end
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







