|
1 | | -# LeaderstatSaveSystem |
2 | | -💾 A Roblox saving system for all your leaderstats |
| 1 | +# 💾 LeaderstatSaveSystem |
| 2 | +A low byte saving system for Roblox leaderstats. |
| 3 | +Easily save leaderstats while using as little data as possible. |
| 4 | + |
| 5 | +## 🚀 Features |
| 6 | +- Simple and low data usage |
| 7 | +- Easy to add more stats |
| 8 | +- Can wipe data with one button |
| 9 | +- Optimized DataStore keys |
| 10 | +- Fast and lightweight |
| 11 | + |
| 12 | +## 📌 The Process |
| 13 | + |
| 14 | +I wanted to save all the data in my game, but I didn’t really know how DataStores worked at first. |
| 15 | + |
| 16 | +So I started by researching DataStoreService and learning how saving and loading data works. |
| 17 | + |
| 18 | +After that, I created the leaderstats and made the system save and load player data when they join or leave. |
| 19 | + |
| 20 | +At first there were a lot of bugs and sometimes the data wouldn’t save correctly, so I spent some time fixing those issues. |
| 21 | + |
| 22 | +When the basic system finally worked, I started optimizing it. |
| 23 | + |
| 24 | +First I made the keys shorter and cleaner, then I improved the way the data was stored to make the system more organized and efficient. |
| 25 | + |
| 26 | +After fixing the last few bugs and testing everything multiple times, the system was finally finished! |
| 27 | + |
| 28 | +## 🛠️ Tech Stack |
| 29 | + |
| 30 | +• Roblox Studio |
| 31 | +• Luau |
| 32 | +• DataStoreService |
| 33 | + |
| 34 | +## ⬇️ Install the Project |
| 35 | + |
| 36 | +1. Download the `.rbxl` file |
| 37 | +2. Open it in Roblox Studio |
| 38 | +3. Go to `ServerScriptService > Data > Leaderstats > LeaderstatsData` |
| 39 | +4. Change the stats however you like |
| 40 | + |
| 41 | +⚠️ Make sure "Enable Studio Access to API Services" is enabled in `Game Settings > Security`, otherwise DataStores will not work. |
| 42 | + |
| 43 | +## 📷 Preview |
| 44 | +https://github.com/user-attachments/assets/465a82a8-bceb-4ca8-b8f8-f6c2d847e211 |
0 commit comments