What do you want to achieve? Stop automatically picking up the tool when the player drops it.
What is the issue? I have scripts that check for TouchInterests and deletes them if one is found.
The issue here is when the tool gets dropped (Using custom tool drop system), there’s a random high chance that the player dropping the tool will automatically pick it back up even though the scripts are deleting the touch interests.
What solutions have you tried so far? I’ve searched on some Topics and can’t seem to solve my issue.
Here’s the TouchInterest detector script i made
script.Parent.ChildAdded:Connect(function(child)
if child:IsA("TouchTransmitter") or child:IsA("TouchInterest") then
wait()
child:Destroy()
end
end)
I feel as though that would be unnecessary as it would just be checking when a tool gets added to the players backpack. (Being pointless because at that time the tool would of already been automatically picked up. Something I’m trying to remove).
If you do not intend to keep the tool lingering, you can have the tool deleted when dropped which would not allow it to be picked up. You can also mess with what makes a tool a tool, like Class, Names, etc. though I’m not sure why the previous solutions have not worked.
Could you disable CanBeDropped, and use UserInputService to check for when they press backspace, and then insert the tool’s handle based on their humanoidrootpart lookvector, add a proximity prompt to that, clone the actual tool and delete the handle in workspace when the proximity prompt is activated.