game.Players.PlayerAdded:connect(function(player)
while true do
wait(60)
player.TeamColor = BrickColor.new("") -- Put the color of the red team here in the quotes
wait(180)
player.TeamColor = BrickColor.new("") -- Put the color of the blue team here in the quotes
end
end)
There is a team switching script,but I want it to kill players so they spawn at the color spawn. Like right after they switch the player dies so he/she can go to the colored spawn.
please help :c

1 comment
Im not sure how to do that,But I'll try.Thanks