Im working on a custom player backpack, i'm trying to make it when the player clicks a UI button the corresponding tool is equipped. I turned to using character.Humanoid:EquipTool() but am running into a problem...it only works for the default roblox player, if im wanting to create my own character it does not work (yes I tried assigning the tools part to the character as well and got the same result)
for i,v in pairs(player.Backpack:GetChildren())do
if v.Name == x.Item.Value then
character.Humanoid:EquipTool(v)
break
end
end
I'm thinking that :EquipTool() does not work for custom characters or i'm missing something in my character that is required for it to work...and ideas?

2 comments
Maybe the naming of the body parts? And try equipping on the server side, from my experience doing it client side causes funky behaviour.
I went ahead and use a remote event to equip from the server, it works now. Would love to know why that was happening if you have any idea ... other than that, thanks for the help.