Just a second, I am trying the script.
I made one myself, that works for me, try this:
local ToolNames = {"ClassicSword"}
local Storage = game:GetService("ServerStorage")
local Part = script.Parent
local ClickDetector = Part:WaitForChild("ClickDetector")
ClickDetector.MouseClick:Connect(function(Player)
if Player and Player.Character then
local Backpack = Player:WaitForChild("Backpack")
for index, place in ipairs(ToolNames) do
if(not Backpack:FindFirstChild(place)) then
local Tool = Storage:FindFirstChild(place)
if Tool then
Tool:Clone().Parent = Backpack
end
end
end
end
end)
Change the sword to your tool. I just tested. And also works with multiple tools. I tried it. And the same with more than 1 player. And @Xueify was correct, we chatted in DMs, there’s no need for the character check that I added because you can’t hold a tool and click a click detector.