I'm updating a datastore which contains the amount of players in the server every 60 seconds, would this cause any noticeable server lag or not? The code looks something like this:
while wait(60) do
ds:SetAsync('currentPlayers',#game:GetService('Players'):GetPlayers())
end
Thanks for reading. |