Universal Script 📌
14.7k Views
259 Executions

Universal Box ESP

Universal Script 📌
Jakey
JakeyPublished 5
3 years 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

made this script for fun lol

Updates

  1. Script edited: Create script

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

local function IsOnScreen(part)
    local screenPoint, onScreen = Camera:WorldToViewportPoint(part.Position)
    return onScreen
end

local Drawings = {}

local function UpdateDrawings()
    -- Clear previous drawings
    for _, drawing in pairs(Drawings) do
        drawing:Remove()
    end
    Drawings = {}
    
    for _, player in pairs(Players:GetPlayers()) do
        local character = player.Character
        local humanoid = character and character:FindFirstChild("Humanoid")
        local head = character and character:FindFirstChild("Head")
        
        if humanoid and head and IsOnScreen(head) then
            local topLeft = character:GetModelCFrame():PointToWorldSpace(character:GetExtentsSize() * -0.5)
            local bottomRight = character:GetModelCFrame():PointToWorldSpace(character:GetExtentsSize() * 0.5)

            local topLeftScreen, _ = Camera:WorldToViewportPoint(topLeft)
            local bottomRightScreen, _ = Camera:WorldToViewportPoint(bottomRight)
            
            local width = bottomRightScreen.X - topLeftScreen.X
            local height = bottomRightScreen.Y - topLeftScreen.Y

            -- Draw box
            local box = Drawing.new("Square")
            box.Position = Vector2.new(topLeftScreen.X, topLeftScreen.Y)
            box.Size = Vector2.new(width, height)
            box.Color = Color3.new(1, 1, 1)
            box.Thickness = 2


Comments

2
Log in to join the conversation. Login
flownexploitss's profile picture
flownexploitss3 years ago(edited)

Nice Script Since its so simple if possible a simplisiticer design on the esp could be nice

1
Shinji's profile picture
Shinji3 years ago(edited)

its basic can be better

1

Tags

More universal scripts

See all
Script hub
3.8k
4.7k
Bumped 33 minutes ago
Key System

Script hub

#15 this month

TWLtime Hub | 7+ games | Updated

Universal Script 📌
2.1k
15.2k
Bumped 55 minutes ago
Script hub
5.5M
1.1M
Bumped 1 hour ago
Key System
Script hub
451.0k
920.6k
Bumped 1 hour ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 71 Supported Games + OP!

Script hub
28.5k
15.9k
Bumped 2 hours ago
Key System

Script hub

Plak New

Script hub
7.4k
36.9k
Bumped 3 hours ago
Key System
Script hub
44.3k
194.6k
Bumped 3 hours ago

Script hub

Sp3arParvus

Script hub
1.6k
6.8k
Bumped 4 hours ago