setthreadidentity
setthreadidentity sets the current Luau thread identity and capabilities matching that identity.
This is commonly used alongside functions like gethiddenproperty or getconnections which may require elevated access.
Parameters
| Parameter | Description |
|---|---|
id |
The identity level to set the current thread to. |