Hi everyone,
I’m trying to make a global counter in Roblox Studio. I want it to work like this:
- When a player clicks on a part, it increases a global counter.
- The counter should show up on a global leaderboard (visible to all players).
- Each player should only be able to click once every 10 seconds (per player cooldown).
- The count should update in real-time across all servers if possible.
I’m not sure how to handle the global part — should I use DataStores or MessagingService? Also, how would I structure the cooldown system?
Any help or example code would be appreciated!
Thanks in advance.