Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to kill when team spawning?

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

after the change put down this line

player:LoadCharacter()

1 comment

0

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

This discussion is preserved as it was. New answers, comments, and votes are closed.