How do I set this giver so that if someone already has this tool in their starter pack it will not give them another?
local Part = script.Parent --Part to get touched
local Tool = game.ReplicatedStorage["OCA Nano"] --The tool you want to give them
local TeamColor = "Bright blue" --Team color here
Part.Touched:connect(function(hit)
local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
if Player and Player.TeamColor == BrickColor.new(TeamColor) then
Tool:Clone().Parent = Player.Backpack
Tool:Clone().Parent = Player.StarterGear
end
end)

5 comments
It says "unknown global player"
Woops, capitalize the 'p' in the player. I updated my post The code is fully functional now
Thanks works great!
Glad I could help!
I would like to give a more technical definition of 'not'. 'not' reverses a boolean. It works like this; If FindFirstChild returns nil (nil = false) then the 'not' reverses that boolean, changing it to true, allowing the if statement to pass.