Suggestions on how to make Combat Warriors type leaderboards?

I’m trying to achieve a GUI leaderboard similar to the ones in Combat Warriors. The leaderboards in their game allow you to select between daily, weekly, monthly, and all time for a variety of things, such as robux spent, donated, kills and xp. I want to do this, but I’m not much of a scripter. I’ve tried my best to look at tutorials or find similar models and attempt to adapt them to have similar functionality, but I’m simply too inexperienced. Now, I’m not here asking for a full script, I’m here trying to learn how this would work and how I can make one myself.

All suggestions appreciated, on my journey to learning LUA :pray::pray:

IMG_6993
(sorry for low quality photo)

This might help you out:

Yes, ordered data stores will help, but how can I collect, organize, and display the data and be able to switch between all of the different time periods?