I want to disable the backspace, I already made dropping the tool to be false but it still removes it from my hand.
Backspace is hard-coded to remove the tool from your character. The CanBeDropped
property just prevents the tool from being parented to workspace.
You can implement your own method of preventing it by detecting when the tool is unequipped (Tool.Unequipped
event) and then re-equipping it. There’s some helpful advice here, which goes over doing so and possibly even implementing your own backpack.
6 Likes
Excuse me?!!?
Haha! Just kidding!
I dont think there is a way to disable that. The only thing you can do is to set CanBeDropped
to false
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
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)
1 Like