Skip to content

Types

PlayerState uses TypeScript-style type annotations for better code safety and IntelliSense support.

Type reference sections

TopicDescription
Built-in typesboolean, string, number, Player, and other Luau primitives
Core and pathsPlayerData and path aliases
Batch and leaderboardBatch ops and leaderboard record types
Change infoListener change shapes
Server interfacePlayerStateServer typing
Client interfacePlayerStateClient typing
ReplicaReplica types
ConfigProfile and runtime configuration
LeaderstatsHUD mapping types
ExamplesType-safe patterns
ExtensionsCustom item and data extensions
GuardsValidation helpers
Performance typesCache and connection typing

PlayerState - High-Performance Roblox Data Management