Hi guys, I was making a custom backpack system (replication of roblox’s one) and I ended up in this little unpleasant bug: when I am unequipping / equipping tool it stays floating for 0.5s. I am using ONLY built-in functions to equip/unequip tools as Humanoid.UnequipTools(), Humanoid.EquipTool(). Any suggestions why this can happen? https://gyazo.com/f26776bae12693f43800af54ceac2a90
I’m sure there is a technical reason for this but an easy fix would just to set the parent of the tool to the backpack yourself. Instead of using a built in function. Same with the equiptool.
-- in module script
function module.Equip(Tool, Character)
Tool.Parent = Character
end
function module.UnEquip(Tool, Player)
Tool.Parent = Player.Backpack
end
-- In a script
local ToolManager = require(-- module)
ToolManager.Equip(Tool, Character)
Using modules for a custom backpack will do you wonders and just making custom functions will make your life way easier.
I was trying to, It didnt work tho