Table issue Code

I have a code that bans players and saves them to a table that then uses messaging service to share it to other servers. But every time a new server starts the tables index deletes because of this code local TableName = {} how can I make the table the same when a new server starts?

MessagingService is not the right thing to use in this scenario, DataStoreService is because it can store data forever while MessagingService is for communicating between servers.

1 Like