while wait(30) do for _,Player in pairs(game.Players:GetPlayers()) do if Player:FindFirstChild("leaderstats") then Player.leaderstats.Points.Value = Player.leaderstats.Points.Value+11 end end end
Think of the client (what LocalScript
s run on) as a single player's computer, whilst the server (normal scripts) is what the actual place runs on.
So, therefore, the client should only edit a single player.
This means your script should be a normal script.
Hope I helped!
~TDP