Universal Script 📌
1.1k Views
1.2k Executions

Esp all players

Universal Script 📌
Robloxplayer37864
Robloxplayer37864Published 10
9 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Esp all players when the text above the player is yellow it means they have a bit of health left but when red it means they have very low health when green it means they have good health

View Raw
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local function createESP(player)
	if player == LocalPlayer then return end

	local function onCharacterAdded(character)
		local humanoid = character:WaitForChild("Humanoid", 10)
		local head = character:WaitForChild("Head", 10)
		if not humanoid or not head then return end

		-- Apply Highlight to the body
		local highlight = character:FindFirstChild("ESPHighlight") or Instance.new("Highlight")
		highlight.Name = "ESPHighlight"
		highlight.Parent = character
		highlight.FillColor = Color3.fromRGB(0, 255, 0)
		highlight.FillTransparency = 0.5
		highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
		highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop

		-- Apply Billboard for Name and HP
		if head:FindFirstChild("ESPBillboard") then
			head.ESPBillboard:Destroy()
		end

		local billboard = Instance.new("BillboardGui")
		billboard.Name = "ESPBillboard"
		billboard.Size = UDim2.new(0, 200, 0, 50)
		billboard.StudsOffset = Vector3.new(0, 3, 0) 
		billboard.AlwaysOnTop = true                 
		billboard.Parent = head

		local label = Instance.new("TextLabel")
		label.Size = UDim2.new(1, 0, 1, 0)
		label.BackgroundTransparency = 1
		label.TextColor3 = Color3.fromRGB(255, 255, 255)
		label.TextStrokeTransparency = 0             
		label.TextScaled = true
		label.Font = Enum.Font.SourceSansBold
		label.Parent = billboard


Comments

3
Log in to join the conversation. Login
drooiidcyber52's profile picture
drooiidcyber529 months ago

w

1
Robloxplayer37864's profile picture
Robloxplayer37864Uploader9 months ago

@drooiidcyber52 ty

1
Robloxplayer37864's profile picture
Robloxplayer37864Uploader9 months ago

Enjoy I guess...

1

Tags

More universal scripts

See all
Universal Script 📌
29.8k
88.0k
Bumped 1 hour ago
Script hub
18.9k
65.4k
Bumped 2 hours ago
Key System
Universal Script 📌
1.7k
6.3k
Bumped 3 hours ago
Key System
Script hub
109
2
Approved 3 hours ago
Paid

Script hub

anmultv hub

Universal Script 📌
1.3k
877
Bumped 4 hours ago
Key System
Script hub
111.9k
160.4k
Bumped 5 hours ago
Key System
Universal Script 📌
110
56
Approved 5 hours ago