local item = player.Character:FindFirstChild(item) if item.Name == "Cuffs" or "Staff Card" then player:Kick("Do not give other players rank tools.") else item.Parent = game.Players[target].Backpack end
On line 2 you need to add another "item.Name ==" after the 'or'.
local item = player.Character:FindFirstChild(item) if item.Name == "Cuffs" or item.Name == "Staff Card" then player:Kick("Do not give other players rank tools.") else item.Parent = game.Players[target].Backpack end
There is also another issue surrounding this security system. Since you are looking into the Player's Character Model for the items, you will not be able to kick them until they have equipped the Cuffs or Staff Card. Therefore I would recommend auto-equipping items right after giving them, and this will prevent "corrupt guards" from passing it on further without your realization.