So, I was wondering on how to make a tool in which you can never de-tool it once you have equipped it. Even better, have it equipped from the start. Help is greatly appreciated. thanks.
✓ ANSWER ACCEPTED
How do I make a tool "locked"?
2 answers
✓ Accepted answer
There's a method to force equip a tool, it's called EquipTool. It's the same thing as parenting the tool to your character.
There's also a property in the tool called 'CanBeDropped' that you can tick off, which won't allow players to drop it. However, if never want the player to be able to put it away, you'd need to weld the handle to your player.
local tool = TOOLPATHHERE -- Tool
local player = PLAYERPATHHERE -- Player
player.Character.Humanoid:EquipTool(tool)
tool.CanBeDropped = false
function equipAgain()
player.Character.Humanoid:EquipTool(tool)
end
tool.Unequipped:connect(equipAgain)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thanks a bunch.