Syntax
isnetworkowner(part: Instance): booleanArguments
| Name | Type | Description |
|---|---|---|
part | Instance | Input value for part. |
Returns
| Name | Type | Description |
|---|---|---|
isOwner | boolean | True when the local client owns network simulation for the part. |
Description
Returns whether the local client owns network simulation for a part.
Call it with 1 parameter(s): part. The argument table explains which values are required and which ones only refine the behavior.
It returns isOwner (boolean). Use the returns table to separate successful values from nil results and recoverable errors.
Example
Example call with placeholder values.
local result = isnetworkowner(game)
print(result)