If I were to go about making an in game polling system that is server wide and live, is it suffice to just use GlobalDataStore:UpdateAsync
to record the total votes, or do I need an external server?
Something came to my mind and It’s making NumberValue objects to store the votes count on each option, and after x amount of time, use DataStoreService
(SetAsync, or UpdateAsync) to save the data.
By server-wide, do you mean GAME-WIDE? and if so, UpdateAsync works just fine.
Record every player’s vote and every so often, update async
local TotalVotes = 0
just += TotalVotes on the variable in the updateasync, make sure you set totalvotes back to 0 after successful update