All client exports are called with colon syntax: exports.vrs_permanentid:Fn(...).
GetMyPermanentId
Returns the local player’s permanent ID.
Returns: number | nil
Statebags
Read any online player’s permanent ID directly from their statebag, no export required.
Statebags are the recommended path for HUDs, scoreboards, and nameplates. They replicate automatically and do not require a round-trip to the server.
Last modified on July 28, 2026