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.
while true do
wait(180)
saveData(player)
end
Note that the code above is just a hypothetical solution I imagined, and does not contain the actual code for the functions. Thanks.

1 comment
Save Data in Arrays,. Save on: PlayerRemoving Event, every certain amount of time too, optionally :BindToClose.