How to make round system and teams

Hello, I’ve been trying so hard with all my research and scripting skills to make this:

when players join server, they are in “lobby” teams, after 30 seconds in lobby, players split into 2 teams: red and blue. each team has Their locations, where they get teleported to. and after round ends (180 second) they get teleported back to lobby and also their team changes to “lobby”. Please help me, I’ve been on this for days, I used ChatGPT roblox chat assistant, code fixers and so much more. Thank you so much for reading!

https://youtu.be/O_RPKmsRXY0?si=gSvTWLE2NJdw6KTT

1 Like

Let me know if were you able to solve your problem

I think I did but I’ve got to add some things and let’s hope it will work. btw, thank you for replying!