I placed a team changing script for my group, it worked perfectly fine on Studio but not on Roblox. Please help.
I have a team changing script that doesn't work in real game but worked in studio?
3 answers
While you're testing go to Test tab in Studio and choose a local server then choose how many players you want and in that way you can test all your scripts and stuff like that until they work. Once you're done just click clean up and it will clean up all the players. I had this problem but also check the developer console while you are in the game to see the error.
Cheers
I've had this problem before, I simply switched over to the "Team" value and it fixed everything for me.
Can't provide a script for you but here's how you do it. The "Team" value is in the Player, same as the "TeamColor", but the "Team" value requires the Team object instead of the color.
For example, you can do this:
Player.Team = game.Teams.USAF
Some additional detail, when I click it on Roblox studio it registers but if I click it ingame it doesn't register.
This discussion is preserved as it was. New answers, comments, and votes are closed.
