its may sound stupid but I don’t know how to avoid that its take the basePart of the player I want it take the other (rig, player) except mine
local player = game.Players.LocalPlayer
local character = player.Character
for _, humanoidRootPart in workspace:GetDescendants() do
if humanoidRootPart:IsA("BasePart") then
if humanoidRootPart.Name == "HumanoidRootPart" then
print(humanoidRootPart.Parent.Name)
end
end
end