game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local root = character:WaitForChild("HumanoidRootPart")
while not root:IsDescendantOf(workspace) do
root.AncestryChanged:Wait()
end
for k, v in pairs(root:GetConnectedParts()) do
print(k, v, v.Anchored)
end
root:SetNetworkOwner()
end)
end)
The output says
1 HumanoidRootPart false 00:44:38.197 - Network Ownership API cannot be called on Anchored parts or parts welded to Anchored parts.
which is nonsense because the part is not anchored or connected to any parts that are anchored.
Why does it error, anyway? What is it supposed to say?