
2.3k Views
32 Executions
Print Detected Humanoid Parts in Console
Universal Script 📌
ProtonPublished 5
2 years 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
Detects Humanoid Parts
local function detectAllBodyParts(player)
if player and player.Character then
local character = player.Character
local humanoid = character:WaitForChild("Humanoid", 5)
if humanoid then
local printedParts = {}
for _, part in pairs(character:GetChildren()) do
if part:IsA("BasePart") and not printedParts[part.Name] then
print(part.Name .. " exists!")
printedParts[part.Name] = true
end
end
else
print("Humanoid not found or not Correctly Loaded")
end
else
print("Humanoid Does not exist")
end
end
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
detectAllBodyParts(player)
end)
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!






