While loop of Printing the players team, when players change teams, the printing of the teams is the same as before (not the one it changed to)

This doesnt work as in i am changing but it still thinks im in noob team

Hello, can you still help me?

When you change a player’s team on a localscript, the server doesn’t see that. You need a normal server script to change the teams. Use a remote event in a localscript to tell a serverscript to change your team.

1 Like

Yes, as @TenBlocke stated, the changes aren’t applied to the server therefore it can’t continue. It would be best if you used a server script when alternating between teams.

The solution goes to Decablocks :+1:

1 Like

Wow, thank you very much. I get it now. It happens locally. Does this mean other players can’t see others change team? If so, I should have tested on local server.

Thank you for helping too. Sorry I was not specific enough that i used local script in changing teams.

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