My first time asking a question on this website so dont judge!
So... Im making a game bla bla bla... And there is like a key (used to open a door). That key also has a script whitch allows the key to be in inventory when clicked and it works perfectly fine but there is one problem unsolved...
My question is - how to make that key (tool) not able for players to be picked up on touch?
Please help! I would appreciate any correct answer!
Tools are inherently meant to be picked up, so instead of working around how a Tool is meant to work, just create a dummy model of the tool and put the ClickDetector inside with a Script that gives a copy of the real tool when clicked.
There is a property of the tool instance. I forgot its name, but it relates to it being able to be picked up.
il try to help
tool = script.Parent-- the tool while true do -- to check if a player has the tool wait(1) -- wait 1 second for i,v in next, game.Players:GetChildren() do if v.Backpack:FindFirstChild("ToolNameHere") then v.Backpack.ToolNameHere:Remove() end end end