GetNetworkOwnershipAuto

Constructor:

GetNetworkOwnershipAuto()

Description

Returns whether the ownership of this part is automatically assigned. It can only be called by server scripts.

Return Value

Class Name Description
bool Returns TRUE if the ownership of this part is automatically assigned.

Examples

Create a part, and output the name of the player who is owning this part when the part is touched by the local player.

local part = WorkSpace. Part
local isAuto = part:GetNetworkOwnershipAuto()