Universal Script 📌
1.1k Views
1.4k Executions

Esp all players

Universal Script 📌
Robloxplayer37864
Robloxplayer37864Published 10
10 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
drooiidcyber5210 months ago

w

1
Robloxplayer37864's profile picture
Robloxplayer37864Uploader10 months ago

@drooiidcyber52 ty

1
Robloxplayer37864's profile picture
Robloxplayer37864Uploader10 months ago

Enjoy I guess...

1

Tags

More universal scripts

See all
Universal Script 📌
4.9k
91.6k
Bumped 5 hours ago
Universal Script 📌
5.0k
3.4k
Bumped 5 hours ago
Script hub
2.7M
830.0k
Bumped 6 hours ago
Key System

Script hub

#1 today

Verified script badgeLumin Hub | #1 | Insta Steal

Universal Script 📌
652
1.0k
Bumped 7 hours ago
Universal Script 📌
8.4k
15.6k
Bumped 8 hours ago
Universal Script 📌
1.4k
5.3k
Bumped 9 hours ago