MaxproGlitcher

Print New Humanoid .lua

Jan 31st, 2025
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1.  
  2. local function detectAllBodyParts(player)
  3. if player and player.Character then
  4. local character = player.Character
  5. local humanoid = character:WaitForChild("Humanoid", 5)
  6.  
  7. if humanoid then
  8. local printedParts = {}
  9.  
  10. for _, part in pairs(character:GetChildren()) do
  11. if part:IsA("BasePart") and not printedParts[part.Name] then
  12. print(part.Name .. " exists!")
  13. printedParts[part.Name] = true
  14. end
  15. end
  16. else
  17. print("Humanoid not found or not Correctly Loaded")
  18. end
  19. else
  20. print("Humanoid Does not exist")
  21. end
  22. end
  23.  
  24. game.Players.PlayerAdded:Connect(function(player)
  25. player.CharacterAdded:Connect(function(character)
  26. detectAllBodyParts(player)
  27. end)
  28. end)
  29.  
Advertisement
Add Comment
Please, Sign In to add comment