#Joining players
25 messages · Page 1 of 1 (latest)
How can I see how many people are being sent to that private place?
Or is there any other way I should go about this.
I just need to see if the "match" is solo, duo, trios, or squads
Um... create a variable and every time someone join, add 1
So yea
but the game cant "wait" forever
so like if the player doesnt load fast enough
the game starts
too soon and then its all messed up
local plrsJoined = 0
game.Players.PlayerAdded:Connect(function()
plrsJoined += 1
if plrsJoined >= 4 then
--add intermission of x seconds in case more players can join
else if plrsJoined == 8 then --lets say this is the max
--start the game
end
end)
Something like that ig
Yea thats what I have rn
but only problem is if the game loads before all players join then it loads into that amt of players difficulty
cuz squads is harder then trios
so its guna set the varibles to trios but then the 4th player might join later
And thats why you should add a intermission
If there are x players, then the intermission would start and in that time more players could join but when it ends they will stay on spectate or smth idk
np