Nucleus handler tools βΊ Docs βΊ Player βΊ PlayerID
Player.PlayerID
Open in the workbench (search, and try it in a handler)
Player.PlayerID: number
Default: -1
Example: Generated from its type and default, not from the docs or Hub handlers.
var playerID = Player.PlayerID;