Universal Script πŸ“Œ
14.8k Views
285 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
33.1k
298.1k
Bumped 50 minutes ago
Script hub
23.6k
5.2k
Bumped 50 minutes ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
187
555
Bumped 1 hour ago
Universal Script πŸ“Œ
1.6k
30.3k
Bumped 1 hour ago
Script hub
4.1M
558.5k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
28.9k
Bumped 3 hours ago
Key System
Script hub
14.0k
28.5k
Bumped 4 hours ago