How would you make a script that saves data from all servers and lets you put it into the current server? ex: one person votes yes (+1 vote) in another server and the server you are in saves that data and puts the vote to [1: yes] [0: no]
I couldn't think how but mhmmmmm dont know how to refer the roblox wiki for this
DataStores are a way to save information between servers. They are a very powerful system which allows persistence of data ranging from information about players, to information about whole servers. The application of them is down to what you need to save.
In your case, when somebody adds a vote you can use UpdateAsync to add a vote to the counter, and then on other servers you can use OnUpdate to change the count on the server when it's updated. Be careful of the request limit.
Closed as Not Constructive by Sublimus, gskw, and M39a9am3R
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?