script.Parent.Equipped:connect(function(mouse)
mouse.Button1Down:connect(function()
local tool = script.Parent
for i,v in pairs(tool:GetChildren()) do if v:IsA("Part" or "Union") then
local ToolClone = v:Clone()
-- Use either position or velocity to make it fall
-- if you want, you could use a ROBLOX animation to make it more realistically drop it
-- with arms
ToolClone.Anchored = true
local Model = Instance.new("Model",game.Workspace)
ToolClone.Parent = Model
ToolClone.Touched:connect(function(h)
if h.Parent:FindFirstChild("Humanoid") then
game.Lighting --[[ or wherever the thing is--]].Tool:Clone().Parent = h.Parent
end
end)
end
end)
end) |