So I am trying to make a weekly activity system, I got the main part which would be giving the points, saving them but I was wondering how would I reset weekly’s players points. I have gotten a working system to reset it 1 time, but is there a way to reset weekly, not just one time?
1 Like
Yes. You could use os.date("%A"):
if os.date("%A") == "Monday" then -- or whatever day of the week
-- reset code here
end
2 Likes
Jesus christ, didnt think it would be so easy. Thanks for helping me 
3 Likes