Script
local function HeadFinder()
for i, v in pairs(workspace.Players:GetDescendants()) do
if v:IsA("Model") then
for i, v in pairs(v:GetDescendants()) do
if v:IsA("BasePart") then
local HeadFinder = v:FindFirstChild("NameTagGui")
if HeadFinder then
HeadFinder.Parent.Name = "Head"
end
end
end
end
end
end
local function TorsoFinder()
for i, v in pairs(workspace.Players:GetDescendants()) do
if v:IsA("Model") then
for i, v in pairs(v:GetDescendants()) do
if v:IsA("BasePart") then
local torso = v:FindFirstChildOfClass("SpecialMesh")
if torso and torso.MeshId == "rbxassetid://4049240078" then
torso.Parent.Name = "Torso"
end
end
end
end
end
end
local function ArmFinder()
for i, v in pairs(workspace.Players:GetDescendants()) do
if v:IsA("Model") then
for i, v in pairs(v:GetDescendants()) do
if v:IsA("BasePart") then
local arm = v:FindFirstChildOfClass("SpecialMesh")
if arm and arm.MeshId == "rbxassetid://4049240209" then
arm.Parent.Name = "Arm"
end
end
end
end
end
end
local function LegFinder()
for i, v in pairs(workspace.Players:GetDescendants()) do
if v:IsA("Model") then
for i, v in pairs(v:GetDescendants()) do
if v:IsA("BasePart") then
local leg = v:FindFirstChildOfClass("SpecialMesh")
if leg and leg.MeshId == "rbxassetid://4049240323" then
leg.Parent.Name = "Leg"
end
end
end
end
end
end
game:GetService("RunService").RenderStepped:Connect(TorsoFinder)
game:GetService("RunService").RenderStepped:Connect(HeadFinder)
game:GetService("RunService").RenderStepped:Connect(ArmFinder)
game:GetService("RunService").RenderStepped:Connect(LegFinder)Features
- just a simple phantom forces body part finder