I want a player to be assigned to a team when they touch a block, any help would be great
COMMUNITY QUESTION
How do I make a player assign to a team via touching a block?
1 answer
every player got a teamcolor propery if that color is the same as the color of an actual team, then the player will be in that team.
so simply do a touch event and change the teamcolor property of the player. use the first parameeter of touched and it will return a part of the character. then you can do :getplayerfromcharacter and from there you can simply just change the teamcolor.
1 comment
0
If you're going to answer, you should atleast give an example.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Use ':Touched' event