DataStore. How I can save table?

hi. Suppose I have tables:

local Admins = {Player1, Player2}
local AdminGivers = {Player1}

suppose AdminGiver has issued an Admin for the player “Player3”. How do I keep the fact that this player has become an admin in the table for each server?

Use :UpdateAsync() In datastores. If you want to update this globally I recommend you use MessagingService.

1 Like

You could just create a DataStore that contains data for whether each player in the game has admin or not, and write a boolean into it for the players that do.

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