I am trying to make it so when you touch the tool it will give you it but also clones itself so that it will be in the same spot where you found it, just in case another player comes to get it.
My code:
local Tool = script.Parent.Parent
local handle = script.Parent
handle.Touched:Connect(function()
Tool.Equipped:Connect(function()
local TC = Tool:Clone()
TC.Position = Vector3.new(47.909, 2075.744, 180.469)
TC.Parent = workspace
end)
end)
The code was successful in:
- Cloning
- Parent set to workspace
- Position set to where it was found
Failures:
- Cloned multiple times crashing my roblox studio
What I have tried:
- I tried using debounce but it didn't work and I don't know why

2 comments
did it clone in your inventory or clone on the floor?
In the position you found it