get_process_identifier Synchronous

  • getprocessidentifier

Read the identifier of the current process. Include it in local diagnostics to distinguish separate running host processes. A process identifier does not identify a user or remain stable across restarts.

Syntax
Luau
get_process_identifier() -> number

Parameters

This function takes no arguments.

Returns

number

The process identifier as a number.

Example

Example
Luau
print("Current process:", get_process_identifier())
Kawaii documentation