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?
This may be a bad idea, but it works. Try parenting the tool into the character If it has a humanoid and a right arm it might work
An alternative might be to load your custom character in, but not remove the torso and right arm, just make them invisible, then weld your custom character to act like the right arm and that works?