
68 Views
1.7k Executions
Esp 2d UPDATE
Universal Script 📌
NguyenvubaoFirst script
3 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Script esp 2D has updated
-- Services
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local CoreGui = game:GetService("CoreGui")
local LocalPlayer = Players.LocalPlayer
local Camera = workspace.CurrentCamera
-- Biến trạng thái Bật/Tắt
local ESPEnabled = false
-- Khởi tạo ESP cho một Player
local function CreateESP(player)
-- Khung vuông (Box)
local Box = Drawing.new("Square")
Box.Visible = false
Box.Color = Color3.fromRGB(255, 255, 0) -- Màu vàng
Box.Thickness = 1.5
Box.Transparency = 1
Box.Filled = false
-- Đường gạch (Tracer Line)
local Line = Drawing.new("Line")
Line.Visible = false
Line.Color = Color3.fromRGB(255, 255, 255) -- Màu trắng
Line.Thickness = 1
Line.Transparency = 1
local Connection
Connection = RunService.RenderStepped:Connect(function()
if ESPEnabled and player.Character and player.Character:FindFirstChild("HumanoidRootPart") and player.Character:FindFirstChild("Humanoid") and player.Character.Humanoid.Health > 0 then
local HRP = player.Character.HumanoidRootPart
local Vector, OnScreen = Camera:WorldToViewportPoint(HRP.Position)
if OnScreen then
-- Tính toán chính xác vị trí đỉnh đầu và chân nhân vật
local HeadPos = Camera:WorldToViewportPoint(HRP.Position + Vector3.new(0, 3, 0))
local FeetPos = Camera:WorldToViewportPoint(HRP.Position - Vector3.new(0, 3.5, 0))
local Height = math.abs(HeadPos.Y - FeetPos.Y)
local Width = Height / 1.5
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







