The following code is a server script and there are no errors in the output. The following code will give the players a tool in replicated storage and it doesn't seem to work.
local plrs = game.Players:GetPlayers()
local teams = game:GetService("Teams")
local shark = teams:WaitForChild("Shark")
local tool = game:GetService("ReplicatedStorage"):WaitForChild("Shark Tagger")
while wait() do
if plrs.TeamColor == shark.TeamColor then
tool:Clone().Parent = plrs.Backpack
end
end

2 comments
Didn't seem to work.
I am pretty Newbie with scripts, sorry that I couldn't do anything for you.