I am trying to detect one of the humanoid parts of a player, however I don't know where to approach to this.
In line 1, I don't want to use workspace.Player1. Is there a better way of doing this inside a LocalScript?
--LocalScript
for _, player in pairs(workspace.Player1:GetDescendants()) do
if player:IsA("Part") or player:IsA("MeshPart") then
print(player.Name)
end
end
