With a script not listed below *shifty eyes*
local function respawned(character,newguy) -- Carries the Player and Character through
if newguy.TeamColor = BrickColor.new("White") then -- Edit for the TeamColor here (It checks what team color people are on)
game.Lighting["TOOLNAME1"]:clone().Parent = newguy.Backpack -- Clone a tool out of lighting into the players backpack
elseif newguy.TeamColor = BrickColor.new("Black") then -- Edit for the TeamColor here
game.Lighting["TOOLNAME2"]:clone().Parent = newguy.Backpack
end end
function playerIn(newguy) -- Carries the Player object through
newguy.CharacterAdded:connect(function(character) respawned(character,newguy) end)
end
game.Players.PlayerAdded:connect(playerIn) -- Triggers when a pleyer enters |