
39.3k Views
Description
Made this 3D box Esp for murder mystery 2 it shows innocent sheriff and murderer. it might crash on electron btw it was made by ChatGPT under Flames so idk https://discord.gg/MpY7h3WqNh
Comments
5

Offline
khalidulabib4 11 months ago
its lag so much it made the game buggier
Offline
mrn_jr 7 months ago - Edited
ive fixed htis *ty script
-- Uses persistent Drawing objects instead of recreating them every frame
-- Services
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local Camera = workspace.CurrentCamera
local LocalPlayer = Players.LocalPlayer
-- Tables
local PlayerESP = {} -- Stores ESP lines per player
-- Functions
local function HasCharacter(Player)
return Player.Character and Player.Character:FindFirstChild("HumanoidRootPart")
end
local function GetPlayerColor(Player)
local Character = Player.Character
local Backpack = Player:FindFirstChild("Backpack")
if (Backpack and Backpack:FindFirstChild("Knife")) or (Character and Character:FindFirstChild("Knife")) then
return Color3.fromRGB(255, 0, 0)
elseif (Backpack and Backpack:FindFirstChild("Gun")) or (Character and Character:FindFirstChild("Gun")) then
return Color3.fromRGB(0, 0, 255)
else
return Color3.fromRGB(0, 255, 0)
end
end
local function GetCorners(Part)
local CF, Size, Corners = Part.CFrame, Part.Size / 2, {}
for X = -1, 1, 2 do
for Y = -1, 1, 2 do
for Z = -1, 1, 2 do
Corners[#Corners+1] = (CF * CFrame.new(Size * Vector3.new(X, Y, Z))).Position
end
end
end
return Corners
end
local function CreateESP(Player)
if PlayerESP[Player] then return end
-- 12 lines for box
local connections = {
{1, 2}, {2, 6}, {6, 5}, {5, 1},
{1, 3}, {2, 4}, {6, 8}, {5, 7},
{3, 4}, {4, 8}, {8, 7}, {7, 3}
}
local lines = {}
for _ = 1, #connections do
local line = Drawing.new("Line")
line.Thickness = 1
line.Transparency = 1
line.ZIndex = 1
line.
Offline
mrn_jr 7 months ago
literally by ai btw
Offline
Joyful_PizzaPartyl 4 months ago
Hey uhh
Hrp(HumanoidRootPart) is a box
And you can just highlight rootpart not draw shapes
Offline
Joyful_PizzaPartyl 4 months ago
Make this a lot simple

![[🎉 RELEASE] Anime Astral Simulator](/images/script/113236157544232-1780333729144.png)
Voxle Hub
