NetworkValues\Register

Register(Owner, InstanceName)

Owner is the owner of the variables.

InstanceName is the instance name.

The purpose of the Register module is to allow any module with class NetworkValue variables to retain these variables across instantiations of a module and to have values automatically propagated around the network. If two instances of the same module register with the same instance name, then each of these modules will be affected by the other's changes in values.

Register is a subroutine. After returning, the owner's variables will be set to the current server's version of the values. The caller must wait for NetworkValues\Started to become true before calling the Register module.