Any alternative ideas?

The part in the red line gets all players, checks for their characters, checks for their teamvalues (inside their character models), checks if they’re alive and then adds +1 to a value for every alive player depending on their teams.

I came across a lot of reports for the game being stuck and I’m sure this is where it fails. I don’t know what the exact error is since this happens very rarely and all I have is screenshots…

Any ideas on how I could fix this or why it’s failing?

You should probably use GetPlayers() instead of GetChildren()

1 Like

I’ll try that but what’s the difference?

It gets only the players, not any other object that might be in the Player’s service.

1 Like