I am trying to make a dog leash with a dog on it and I want it so when you try to put it away (by clicking the number in the hotbar) it will just drop to the ground. I made this local script and put it in StarterPlayerScripts folder.
wait(3) while true do wait() local SearchForLeash = script.Parent.Parent.Backpack:FindFirstChild("DogLeash") if SearchForLeash then SearchForLeash.Parent = game.Workspace end end
The issue I am having is that when you try to put it away in your hotbar it just breaks it. The tool drops to the ground like it should but it no longer has a touchinterest and your character won't pick it up when you stand on it. If you hit the backspace key it will drop to the ground and you can still pick it up by stepping on it so I don't know what to think.