This is StarterCharacter script should work fine too.
local TeamService = game:GetService("Teams")
local GroupID = 10158175
local Player = game.Players:GetPlayerFromCharacter(script.Parent)
local ReplicatedStorage = game:GetService("ReplicatedStorage")
if plr.Team == teams["KGB"] and plr:IsInGroup(10158175) then
print("validated, cloning..")
rep.Tools.Test:Clone().Parent = plr.Backpack
end