API:Class/BasePart/SetNetworkOwner

< API:Class‎ | BasePart(Redirected from SetNetworkOwner)

SetNetworkOwner

Function of Object Icon.pngBasePart
void SetNetworkOwner (
    Player playerInstance = nil
)
Parameters:
  1. playerInstance

Returns: void
Description: Sets the given player as network owner for this and all connected parts.

When playerInstance is nil, the server will be the owner instead of a player.


See Also