You need to place the items in some sort of storage, like the Lighting or the ServerStorage. Then you need to make a script that gives players the item specific to their team when they respawn.
This can be done like so:
game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function()
wait(1)
if p.TeamColor == game.Teams["Team 1 Name"].TeamColor then
game.Lighting["Team 2 Tool Name"]:Clone().Parent = p.Backpack
elseif p.TeamColor == game.Teams["Team 2 Name"].TeamColor then
game.Lighting["Team 2 Tool Name"]:Clone().Parent = p.Backpack
end
end)
end)
You need to configure this script to meet your needs.
1 comment
http://prntscr.com/3atxzh