I’m making a soccer game and I want to have different teams “referee” “player” etc. How can I make it so when they refresh their character they will spawn with tools?
So: When a referee teams himself and resets his character he will spawn with his tools (whistle, yellow card, red card) etc.
local tool = -- path to your tool
local team = game.Teams.-- path to your team
game.Players.PlayerAdded:Connect(function(player)
if player.Team == team then
tool:Clone().Parent = player.Backpack
end
end)