roblox-datastores
roblox-datastores
Reference for Roblox DataStoreService — saving, loading, and managing player data on the server.
Quick Reference
| Method | Signature | Notes |
|---|---|---|
GetDataStore |
DSS:GetDataStore(name, scope?) |
Returns a GlobalDataStore |
GetOrderedDataStore |
DSS:GetOrderedDataStore(name, scope?) |
For leaderboards |
GetAsync |
store:GetAsync(key) |
Returns value or nil |
SetAsync |
store:SetAsync(key, value) |
No return value needed |
UpdateAsync |
store:UpdateAsync(key, fn) |
Atomic read-modify-write |
RemoveAsync |
store:RemoveAsync(key) |
Deletes key, returns old value |
GetSortedAsync |
orderedStore:GetSortedAsync(asc, pageSize) |
Returns DataStorePages |
Basic Setup
More from sentinelcore/roblox-skills
roblox-gui
Use when building, animating, or debugging Roblox GUI elements including HUDs, menus, world-space UI, and player labels. Triggers on: ScreenGui setup, SurfaceGui or BillboardGui placement, UDim2 sizing questions, TweenService UI animations, responsive scaling, LocalScript GUI logic, ResetOnSpawn issues, or any Frame/TextLabel/ImageButton layout work.
220roblox-performance
Use when optimizing a Roblox game for better frame rates, reducing lag, improving server or client performance, diagnosing FPS drops, handling large worlds, or when asked about streaming, draw calls, object pooling, LOD, MicroProfiler, or expensive loop operations.
149roblox-security
Use when writing Roblox game scripts that handle player actions, currencies, stats, damage, or any RemoteEvent/RemoteFunction communication. Use when reviewing code for exploitable patterns, implementing anti-cheat logic, validating client requests on the server, or setting up rate limiting.
139roblox-animations
Use when working with Roblox animation systems including playing, stopping, or blending animations on Humanoid characters or non-Humanoid models, handling AnimationTrack events, replacing default character animations, or debugging animation priority and blending issues.
139roblox-remote-events
Use when implementing client-server communication in Roblox, firing events between LocalScripts and Scripts, passing data across the network boundary, syncing game state, or defending against exploits that abuse RemoteEvents or RemoteFunctions.
97roblox-monetization
Use when developing Roblox games or experiences and need to earn Robux through Game Passes, Developer Products, UGC avatar items, or Premium Payouts — covers both Studio scripting and Creator Hub dashboard setup.
94