GetLimb() error: "Part is not a child of humanoid" (Minor)

Minor bug where the error for :GetLimb() on an invalid part of a humanoid is “Part is not a child of humanoid” when in reality, limbs are never part of a humanoid.

image

Reproduction:

print(game.Players.LocalPlayer.Character.Humanoid:GetLimb(game.Selection:Get()[1]))

Expected behavior:

Part is not a child of humanoid's model

or something like that. It’s a bit misleading.

This is a really minor bug, but easy enough to fix.

3 Likes


Please fix this.