Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

why its remove when i equip tool and how to fix?

script.EquipSword.OnServerEvent:connect(function(plr,w,v)
plr.Character.Humanoid:EquipTool(plr.Inventory:FindFirstChild(v.Name))
end)

1 comment

0

its not inside the humanoid

1 answer

script.EquipSword.OnServerEvent:connect(function(plr,w,v) plr.Character.Humanoid:EquipTool(plr.Backpack:FindFirstChild(v.Name)) end)

It's plr.Backpack not plr.Inventory

1 comment

0

custom inventory

This discussion is preserved as it was. New answers, comments, and votes are closed.