How do the player get the tool when i team him?

hi, how can i do that when i team a player, he will receive a tool?
i mean like example i have admin ijn my game and when i team a player with “:team (“Player”) Referee” he gets the tool.
do u have any example?

Clone the tool, then parent it to their backpack (if you want them to have it permanently, clone it to their StarterGear as well).

Tool:Clone().Parent = Player.Backpack
Tool:Clone().Parent = Player.StarterGear

i tried this right now:

local ST = game:GetService("ServerStorage")
local GK = ST.GK

local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(Player)
	GK:Clone().Parent = Player.Backpack
end)

should the script be in serverscriptservice and then saying that tool will be cloned when someone gets in the team or do this script should be in the team