How to give players one (+1) point per second and save how much he have points?
✓ ANSWER ACCEPTED
How to give players one point per second?
2 answers
✓ Accepted answer
Use a while true do loop and if you want to save use DataStores
https://developer.roblox.com/en-us/articles/Loops https://developer.roblox.com/en-us/articles/Data-store
local Players,givepoint=game:GetService"Players",function(player)
player.leaderstats.Points.Value+=1
end;while wait(1)do
for _,player in ipairs(Players:GetPlayers())do
pcall(givepoint,player)
end;end;
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Please review our community guidelines: https://scriptinghelpers.org/help/community-guidelines. This is not a request site, and we cannot spoonfeed you.