The ID won’t work because Controller ID only affects multiple players on the same client.
Ok, here’s what you need in the game mode
The Switch Has Authority node will ensure it is the server that assigns the value. Then set it on the player controller and increment the counter.
This is the player controller
It’s just a simple test to print the index. Make sure PlayerIndex is replicated. That should be it.