no it happens as soon as it teleports so im assuming thats where the issue is
for some reason it doesnt give the team to player1, resulting in player2 to win
If you add prints around you can see where and when it goes into something, but I feel that it could be starting before everyone is in there.
no it just does not give the team to the first player. i tested it with 3 players and it just doesnt give the team to player1
Want to change this pairs
to ipairs
I don’t think it will fix it but it’s worth a shot.
I see,
in loops you put Player
and in table you put Survivors[Players] = true
Players. Try removing s?
Also, just looked at it again, it could be that the player doesn’t have a character yet so it doesn’t add them to the team.
And no no, I quoted your code, I was saying to do ipairs() instead of pairs(). But I think the problem is that the player doesn’t have a character yet.
i removed the s and it just fixes it for one round then continues to break
so do i make it wait for child
I would just remove the part that checks if they have a character so it will put them on the team still.
Or you can just make it wait a little longer after there are enough players to go.
Yeah that would also definitely fix it.
Sorry, you and the OP look similar and I didn’t read the names and thought you were him before, my bad.
And some times .Character won’t work for me.
You can try: game.Workspace:FindFirstChild(Player.Name):FindFirstChild("Humanoid")
somthing like that ^^
okay so i think this might be a client thing on studio because it only does this error to the player who im not controlling. can someone help me test this in the real game?
https://www.roblox.com/games/5963990670/Minigame-Mania?refPageId=4b00c26d-cbcc-421a-9a62-0b796a345063
Alright imma join and help you test it.
ok so the other guy joined and it seems like this is an issue with studio
actually the problem was this:
i already removed that in studio but still same issue
i did all the changes you guys recommended
Try enabling Game settings maybe?