How does one remove 'backspace to drop' from tools?

Hello! I am currently trying to make a custom hotbar and backpack system, however, whenever you press backspace whilst holding a tool, the tool goes into your backpack. I want to disable this (so hitting backspace does nothing). Does anyone have any ideas for how to accomplish this?

Ty in advance,
DeepAquaticBlue

1 Like

turn off the ā€œCanBeDroppedā€ property of the tool.

Thatā€™s not the issue. I want to make it so backspace does nothing. If ā€˜can be droppedā€™ is off, the tool just goes into your backpack

Well, make a remote event to equip the tool and have a local script fire it when backspace is pressed when the tool is equipped.

i donā€™t think thatā€™s a good idea because exploiters could delete the local script
and break the game, i recommend better using a custom backpack system using
welds instead of tools.

1 Like

Yeah thatā€™s what I thought about doing. I was just wondering if there was a simpler way

That would still play the dropping animation, which I also want to avoid.

thatā€™s the best way to evict binding keys to tools
here is an example of another person with the same problems
and has welding as an answer:

I donā€™t think thatā€™s possible since backspace behaviour on tools are hardcoded into the game as far as I know.

Yeah thatā€™s why I am using welds

Iā€™ve made this script to reparent the tool back to the character of the player.

Sadly this wonā€™t really ā€œunbindā€ the backspace key

But I hope it helps out :d

local players = game:GetService("Players")

function listen(player, char)
	player.Backpack.ChildAdded:Connect(function(child)
		if child:IsA("Tool") then
			task.wait()
			child.Parent = char
		end
	end)
end

players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(char)
		listen(player, char)
	end)
end)