Advertisements
simple drawing esp I open source
Imported from ScriptBlox. If you wrote it, link your ScriptBlox account and it moves to your RoScripts account.
About
just box esp, tracers, healthbars, name esp, and drone esp
drone esp is the red boxes
theres a few settings at the top of the script, tracertype is the only one that works, ill implement the rest later with a ui
settings & ui after that aimbot/silent aim, etc coming last :)
Script
Version history
Loading…
loadstring(game:HttpGet("https://script.roscripts.io/41F8HAT"))() --player esp local Players = game:GetService("Players") local lp = Players.LocalPlayer local camera = game.Workspace.Camera local UIS = game:GetService("UserInputService") local espoverall = true local espbox = true local espboxoutline = true local esptracer = true local esptraceroutline = true local tracertype = 1 -- 1: bottom of screen, 2: center of screen:, 3: top of screen local esphealthbar = true local esphealthbaroutline = true local espname = true local espdrone = true local espdroneoutline = true local espboxes = {} local espboxoutlines = {}local esptracers = {} local esptraceroutlines = {} local esphealthbars = {} local esphealthbaroutlines = {} local espnames = {} local espdrones = {} local espdroneoutlines = {} local screensize = game.Workspace.CurrentCamera.ViewportSize local screenpositions = {Vector2.new(screensize.X / 2, screensize.Y), Vector2.new(screensize.X / 2, screensize.Y / 2), Vector2.new(screensize.X / 2, 0)} local function removeplr(name) if espboxes[name] then espboxes[name].Visible = false; espboxes[name]:Remove(); espboxes[name] = nil end if espboxoutlines[name] then espboxoutlines[name].Visible = false; espboxoutlines[name]:Remove(); espboxoutlines[name] = nil end if esptracers[name] then esptracers[name].Visible = false; esptracers[name]:Remove(); esptracers[name] = nil end if esptraceroutlines[name] then esptraceroutlines[name].Visible = false; esptraceroutlines[name]:Remove(); esptraceroutlines[name] = nil end if esphealthbars[name] then esphealthbars[name].Visible = false; esphealthbars[name]:Remove(); esphealthbars[name] = nil end if esphealthbaroutlines[name] then esphealthbaroutlines[name].Visible = false; esphealthbaroutlines[name]:Remove(); esphealthbaroutlines[name] = nil end if espnames[name] then espnames[name].Visible = false; espnames[name]:Remove(); espnames[name] = nil end end local function removedrone(drone) if espdrones[drone] then espdrones[drone].Visible = false; espdrones[drone]:Remove(); espdrones[drone] = nil end if espdroneoutlines[drone] then espdroneoutlines[drone].Visible = false; espdroneoutlines[drone]:Remove(); espdroneoutlines[drone] = nil end end local function getenemies() local team = lp.Team local enemies = {} for _,plr in pairs(Players:GetChildren()) do if espoverall and plr.Character and Players[plr.Name].Team ~= team then local hum = plr.Character:FindFirstChild("Humanoid") if hum and hum.Health > 0 then table.insert(enemies, plr.Character) end end end local drones = {} for _,v in pairs(game.Workspace:GetChildren()) do if v.Name == "Drone" then table.insert(drones, v) end end return enemies, drones end local function getCharMinMax(char) local minX, maxX = math.huge, -math.huge local minY, maxY = math.huge, -math.huge for _, part in pairs(char:GetChildren()) do if part:IsA("BasePart") then local cf = part.CFrame local size = part.Size / 2 -- Generate the 8 corners of the bounding box local corners = { Vector3.new(-size.X, -size.Y, -size.Z), Vector3.new(-size.X, -size.Y, size.Z), Vector3.new(-size.X, size.Y, -size.Z), Vector3.new(-size.X, size.Y, size.Z), Vector3.new( size.X, -size.Y, -size.Z), Vector3.new( size.X, -size.Y, size.Z), Vector3.new( size.X, size.Y, -size.Z), Vector3.new( size.X, size.Y, size.Z), } for _, offset in pairs(corners) do local worldPoint = cf:PointToWorldSpace(offset) local screenPos, onScreen = camera:WorldToViewportPoint(worldPoint) if onScreen then minX = math.min(minX, screenPos.X) maxX = math.max(maxX, screenPos.X) minY = math.min(minY, screenPos.Y) maxY = math.max(maxY, screenPos.Y) end end end end return maxX, maxY, minX, minY end local function torture(char) -- healthbar position calculations local maxX, maxY, minX, minY = getCharMinMax(char) local topleft = Vector2.new(minX, minY) local boxCFrame, boxSize = char:GetBoundingBox() local topCenterWorld = boxCFrame.Position + boxCFrame.UpVector * (boxSize.Y / 2)
The rest is in View source.
Comments · 0
Sign in to comment.
No comments yet.