Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

CanBeDropped does absolutely nothing to stop dropping of Tools, how to fix?

This is really making me mad. I want to make it so players can't drop their tools. When CanBeDropped is true, players can drop tools and they'll drop onto the workspace, and Unequipped is triggered. When it's off, the same thing happens except weapons this time DON'T drop onto the workspace.

How do I just cut the rubbish and make it so you CANNOT drop tools at all?

I've given Tools this:

script.Parent.Unequipped:connect(function()
	wait()

	if script.Parent.Parent.Parent.Parent:FindFirstChild("Humanoid") then
		script.Parent.Parent.Parent.Parent.Humanoid:EquipTool(script.Parent)
	end
end)

And it works, but it sometimes breaks and after a while, tools become invisible.

1 comment

0

Disabling CanBeDropped stops you from being able to drop a tool into workspace. That is what it does.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.