So, I'm making a soccer game. I need a script as for example: If green team scored, only blue team can can go in the middle and green will get teleported back to there goal if they try to go in the middle.
Like a teleport script, only for teams. If blue score, only green can go in the middle for kick off.
you can achieve that by anchoring the players and then teleporting them, of wich 1 team to the middle, you then unanchor the team in the middle and unanchor the other team once the ball has been hit.