I’ve been working on a game where two people are supposed to 1v1 in a room, but the game is not as simple as it looks
I have 5 scripts connected together with bindable events, The Game Starter script, The Game Handler, The Winner Decider, The Gun Script, The Round Ender.
each script does it’s thing when it’s bindable event is fired and they seem to work well together but when two Rounds are in progress (4 players 2 in each room) the rooms get mixed together.
for example. each 1v1 game has 6 rounds and sometimes the winner in room1 may be announced a winner to the players in room2 or round ends in room1 starts in room2.
and sometimes the bindable event fires more than once which causes the game to break.
so I guess my 1v1 system is not working properly and I can’t seem to fix it, how do most people make a 1v1 system for their games without mixing between players/rooms?