Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Adding players to teams whilst a game is in progress?

Asked by 6 years ago

I have an FPS game that I have been working my bum off to get working and everything is going well except I just realized I have a problem.

If a player joins the game while a game is currently is progress he gets stuck in the lobby team so he cant join the game until its over and the games are quite long so this is a problem.

I had an idea to counter this problem by making the teams have auto assign = true while a game is in progress and then set it to false when a game isnt in progress? Would this work? I have no way of trying it because you cant really simulate this in Studio and I have no people to test my game.

I wanted to know if that would work before I wrote it down into the code basically?

I know this is an odd question but its a yes or no question, so thank you for your time :)

0
test it. User#5423 17 — 6y
0
I cant. I have to test it inside actual roblox and simulate a player joining mid game GottaHaveAFunTime 218 — 6y
0
Under "HOME MODEL TERRAIN TEST" etc on the top bar you can hit test and then press Start, once you are inside the test server from there you can press Start again to add another player which should be worthy of testing the code Vulkarin 581 — 6y

Answer this question