Player team is not setting properly

Every time I set a players team, it seems to be assigned a random different one.

image
image
It is printing the team instances in Teams service. Both have autoassignable set to false.

-The script is not firing multiple times
-There are no other scripts changing these values
-This is running serverside
-CorrespondingTeam and player.Team both hold their seperate values after task.wait(5)
-This is not running parrallel

Any help is appreciated, thanks!

for change team you have to use color instead of name so use player.TeamColor

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.