Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)
Advertisement
Add Comment
Please, Sign In to add comment