You can write your topic however you want, but you need to answer these questions:
-
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. -
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. -
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