Anyone sure why the tool is sticking to the players hand?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to be able to force the player to drop the tool from a script.
  2. What is the issue? Include screenshots / videos if possible!
    Whenever I press the drop button (I linked it to q) the player will seemingly unequip the tool, but the tool still sticks to the players hand.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Looked through dev forum and other sites.
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local function dropTool(Tool)
	if toolEquipped then
		toolEquipped = false
		for i, v in pairs(character:GetChildren()) do
			if v:IsA("Tool") then
				v.Parent = workspace
				humanoid:UnequipTools()
			end
		end
	end
end

You are putting the tools to the workspace before the humanoid can unequip them

switch those two lines

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.