Hey,
I am struggling to equip a tool to a player in a localscript.
local tool = LocalPlayer.Character:FindFirstChild((slot.ItemName.Value:gsub(" ", "")))
if tool then
LocalPlayer.Character.Humanoid:UnequipTools()
else
local backpackTool = LocalPlayer.Backpack:FindFirstChild((slot.ItemName.Value:gsub(" ", "")))
if backpackTool then
LocalPlayer.Character.Humanoid:EquipTool(backpackTool)
end
end
It seems to be lagging the equipping of the tool or it just waits for the arm to complete the movement which makes it very unnatural and weird