I tried saving data each time the value has changed, but it gave me a warning and told me to send fewer requests. What should I do about it?
Should I use an infinite loop to wait a certain amount of time and then save the data? Help, please.
1 | while true do |
2 | wait( 180 ) |
3 | saveData(player) |
4 | end |
Note that the code above is just a hypothetical solution I imagined, and does not contain the actual code for the functions. Thanks.
Closed as Primarily Opinion-Based by User#24403
This question has been closed because it is a discussion about a topic focused on diverse opinions, which isn't a good fit for our Q&A format.
Why was this question closed?