Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to kill when team spawning?

Asked by 10 years ago
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 answer

Log in to vote
-1
Answered by 10 years ago

after the change put down this line

player:LoadCharacter()
0
Im not sure how to do that,But I'll try.Thanks DerpTrollark 20 — 10y
Ad

Answer this question