I'm trying to make a custom leaderboard. I'm storing player kills ,deaths etc in a server side script in a dictionary using the players userId as the key and also storing userId in an array for ranking. What I want to do is pass the tables to a local script so they can be added to a leaderboard GUI in ranked order at the end of a round or when the player requests it.
✓ ANSWER ACCEPTED
how to pass a dictionary to a client?
1 answer
✓ Accepted answer
you can pass dictionaries through remoteevents like any other value
...UNLESS the dictionary is cyclic (references itself) or uses an instance as an index
if one of those is true then you'll have to either a. get rid of the cyclic reference or b. find some way to encode the instances you need to pass
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
try passing the arguements back to client using FireClient(player,argument,argument)