You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
Make a statue that auto updates statue with the outfit of top donator in the Top Donator Datastore
What is the issue? Include screenshots / videos if possible!
I have been trying for some time, and still haven’t been able to understand how to make it
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I’ve tried alot of things i could find, furthest i got was failing to view the datastore with print(i,v)
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local Datastore = game:GetService("DataStoreService"):GetDataStore("BoardData")
local Data = Datastore:GetAsync("Data")
local TD = game:GetService("DataStoreService"):GetOrderedDataStore("TopDonators")
for i,v in pairs(TD) do
print(i,v)
end
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.
Your Top-Donor thing should also store amount so just order the amount from least to greatest also dont overwrite the amount of money donated use UpdateAsync to add the amount donated
you need to use a OrderedDataStore which i dont know how to code for,
Maybe use :GetCurrentPage() to return a table then use table.sort to sort through it