Universal Script 📌
76 Views
19 Executions

esp all games

Universal Script 📌
pablopulcinelli
pablopulcinelliFirst script
3 days ago · Updated

Reviewed by QueueSpeedDemonPaid revieweron How review works

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

marca en verde a todo los jugadores y con la tecla E apunta a la cabeza

View Raw
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local camera = workspace.CurrentCamera
local localPlayer = Players.LocalPlayer

local target = nil
local isLocked = false

-- Función para encontrar al enemigo más cercano a la mira
local function getClosestPlayer()
    local closest = nil
    local shortestDistance = math.huge
    local mousePos = UIS:GetMouseLocation()

    for _, p in pairs(Players:GetPlayers()) do
        if p ~= localPlayer and p.Character and p.Character:FindFirstChild("Head") then
            local head = p.Character.Head
            local pos, onScreen = camera:WorldToViewportPoint(head.Position)
            
            if onScreen then
                local distance = (Vector2.new(pos.X, pos.Y) - mousePos).Magnitude
                if distance < shortestDistance then
                    closest = p
                    shortestDistance = distance
                end
            end
        end
    end
    return closest
end

-- Función para el Cuadrado Verde (ESP)
local function applyESP(p)
    if p.Character and not p.Character:FindFirstChild("GreenBox") then
        local highlight = Instance.new("Highlight")
        highlight.Name = "GreenBox"
        highlight.Parent = p.Character
        highlight.FillColor = Color3.fromRGB(0, 255, 0) -- Verde
        highlight.OutlineColor = Color3.fromRGB(255, 255, 255)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
9.4k
34.0k
Bumped 15 minutes ago
Key System
Universal Script 📌
33
3
Approved 40 minutes ago
Script hub
53
1
Approved 1 hour ago
Key System
Script hub
50
4
Approved 1 hour ago
Key System
Paid
Universal Script 📌
74
15
Approved 2 hours ago
Script hub
216
1.4k
Bumped 2 hours ago
Key System

Script hub

#1 today

Vexity.wtf | OP SCRIPT HUB