So this script locks all the tools in the players inventory, and I would like it to be able to lock only one tool which is called football?
game:GetService("Players").PlayerAdded:connect(function(player)
local function hookTool(tool)
if not tool:IsA("Tool") then return end
game:GetService("RunService").Heartbeat:wait()
tool.Parent = player.Character
end
player:WaitForChild("Backpack").ChildAdded:connect(hookTool)
player.ChildAdded:connect(function(child)
if child:IsA("Backpack") then
child.ChildAdded:connect(hookTool)
end
end)
for i,v in pairs(player.Backpack:GetChildren()) do
hookTool(v)
end
end)

3 comments
which section do I put it in?
I gave you the script. Just copy and paste it.
I did but the football didn't drop and it locked all the gears in my inventory