Hello! So recently I have been working on a CSGO/Valorant game. I have just finished everything but have been struggling with creating a round system.
What it should be like :
5v5, first team to 13 points, wins the game.
Points are achieve per team if all of the opponents team are elimated, or bomb is placed. I currently am just trying to do it without the bomb of course.
Games normally consist for about 35 minutes, their isn’t really a time limit its just first team to 13 wins/points.
What I was going to do :
Since I already have Teams ordered like this →
I thought I should create values like MaxPlayers, PlayersAlive, and WinScore.
MaxPlayers is already being used for TeamSelection so if it gets to 5, then it is not able to be joined.
PlayersAlive is set to 5 and I was wondering how in a script I could decrease the increment just by checking when a player dies. When it hits 0, you would increase the WinScore to the opponents team. Vise versa, a new rounds starts.
So my question is… Is this a good attempt? Since I need values I thought It would be best to put them in the team. I also am trying to do this →
Where as GameStatus will display on the localscript the current time span of the round so → “10:00”, “35:00” etc. Just keeps counting up from “00:00”.
Here is my code for that. Haven’t been able to test yet, this would just show the points and time left.
In the end im using ProfileService I would also want to see all the players on the winning team and award them wins to save for later.
What is the best way I can create the 5v5 round system, that is based on everything I said above? Hope you understand thankyou!
PS : I’ve looked at plenty resources and tutorials, i’m just looking for more advice on this.