How to get a random player from all servers and get his info and stats?

Hello. My name is d_q. And that will be HUGE if you would help me.

I have a script, where i get a list of all players from all servers using MessagingService, but i cant send tables (e.g. tables with player info) via messagingservice. So i can only get player`s userId/name.

Is there another way? Is it possible to get player`s leaderstats?

That would be very helpful if you give me an idea how to make it. Or even a whole script (not necessary).
Thank you so much if you help me!

You could

  1. Convert the player data (userId, name, leaderstats, etcā€¦) into a string format which can be sent via ā€œMessagingServiceā€
  2. Use ā€œMessagingServiceā€ to send the serialized string.
  3. Convert the string back into a table on the receiving end.
1 Like

Thank you so much!!! I cant tell how thankful i am! You are the best!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.