Instances

isnetworkowner

Returns whether the local client owns network simulation for a part.

Syntax

isnetworkowner(part: Instance): boolean

Arguments

NameTypeDescription
partInstanceInput value for part.

Returns

NameTypeDescription
isOwnerbooleanTrue 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)