Teleporting all players in train once number has been reached

Teleporting all players in train once a certain number has been reached.

I am trying to make a system where once a certain number of multiplayer players have entered a train then all the layers in the train are teleported to a certain location.

I have tried to use an array but I can’t seem to get it working.

I did post this the other day but I didn’t attach the blueprints so here they are. Blueprints

(The add player to train and remove player from train events are executed on server and update player count is multicast)

Oh no problem. I managed to fix the problem by adding a variable to the player joining. Thanks for the help though.

Does anything happen? Do you see your log messages get printed? Does the player count go up / down?