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

How do i change Player's Teams?

Sorry I ask too many questions xD

ok so I want it when the player beats the game it changes team to "Winners" Not like change the name, but move the player to that team. How do I do that?

Once again sorry I ask too many questions but I just found out about this website and its helping me a lot.

2 comments

0

This is not a request site to get scripts off other users for your own benefit. And it's also best to check if questions like these were asked/answered using the Site's Search feature.

0

well it actually kinda is. It's helping other people and i help people with my scripting knowlege

1 answer

✓ Accepted answer

To change the team of a player, you need to set the TeamColor property of the player to the TeamColor property of the team you want to change them to.

player.TeamColor = game.Teams.Winners.TeamColor --Changes player's TeamColor to the Winners team TeamColor. Make sure you define player first.

I hope my answer helped you. If it did, be sure to accept it.

4 comments

0

how do i accept it? sorry im new to this website

0

There's an accept button with a checkmark under my name. Click that and it'll mark the question as answered.

0

i dont see it

0

It should be on the right, it's called "Accept Answer" and it should have a tick next to it.

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